From: | Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Database encoding |
Date: | 2001-09-22 19:12:37 |
Message-ID: | 4.2.0.58.20010922204950.00a75da0@pop.freesurf.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hello all,
Should database encoding display as an integer or a string value?
CREATE DATABASE name [ WITH [ LOCATION = 'dbpath' ] [ TEMPLATE = template ]
[ ENCODING = encoding ] ] is a string.
Also, in pSQL SHOW CLIENT_ENCODING returns a string.
select pg_encoding_to_char(iEncoding) returns encoding.
pg_char_to_encoding (szEncoding) returns iEncoding.
UNICODE is enabled on my server, I have the following results:
1=EUC-JP
2=EUC-CN
3=EUC_KR
4=EUC_TW
5=UNICODE
6=MULE_INTERNAL
7= LATIN1 etc...
I don't have the time to write more because I have to leave now.
Regards,
Jean-Michel
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2001-09-22 19:23:14 | Re: Database encoding |
Previous Message | Dave Page | 2001-09-22 18:46:43 | Re: Elephant splash screen |