Re: Does postgresql support HKSCS ?

From: Eric Tan <neltan2002(at)yahoo(dot)com(dot)hk>
To: Ang Chin Han <angch(at)bytecraft(dot)com(dot)my>, Dennis Gearon <gearond(at)fireserve(dot)net>
Cc: Eric Tan <neltan2002(at)yahoo(dot)com(dot)hk>, pgsql-general(at)postgresql(dot)org
Subject: Re: Does postgresql support HKSCS ?
Date: 2003-10-09 09:49:37
Message-ID: 20031009094937.62857.qmail@web13002.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Ang Chin Han,

Thank you very much !!

Though I'm not understand you meaning very well, I appreciate your comment !! No one give me such useful information from the English world !!

However, I'm not sure on 2 points:

1. "map HKSCS to UNICODE"
- String big5 = String.getbyte(request.getParameter("hk_field"), "Big5");

2. "duplicate Big5's code in pgsql to support HKSCS natively."
- I don't understand how to do this.

Ang Chin Han <angch(at)bytecraft(dot)com(dot)my> wrote:
Dennis Gearon wrote:

> Isn't HKSC one of the languages supported by UNICODE? I thought they had
> every langauge past and present in it.

You'll have to map HKSCS to UNICODE yourself before the data hits
postgresql, and data out of postgresql would be in UNICODE, and up to
you to convert back to HKSCS after retrival. pgsql doesn't have *native*
HKSCS support.

HKSCS is an extension of Big5 right? From the info we have:

http://www.unicode.org/faq/unicode_iso.html
http://www.info.gov.hk/digital21/eng/hkscs/download/big5-iso.txt

We might be able to duplicate Big5's code in pgsql to support HKSCS
natively.

I don't have experience with HKSCS nor test materials to attempt it though.

--
Linux homer 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386
GNU/Linux
4:00pm up 287 days, 7:33, 8 users, load average: 6.32, 6.34, 6.18

> ATTACHMENT part 2 application/pgp-signature

兩個人的幸運、亂世佳人、遇見...
浪漫鈴聲 情心連繫
http://ringtone.yahoo.com.hk/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2003-10-09 09:53:38 Re: PostgreSQL vs. MySQL
Previous Message D. Stimits 2003-10-09 09:37:39 Re: PL/PGSQL for permutations?