From: | Holger Klawitter <lists(at)klawitter(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Postgres Mailing List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: verifying unicode locale support |
Date: | 2004-04-13 15:55:43 |
Message-ID: | 200404131752.43382.lists@klawitter.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> What byte string are you really entering here? What's coming through in
> your email is \344 ... which is not valid UTF8. But I suspect something
> may have translated it before it got to my inbox.
Damn charsets :-) The character indeed was \344 aka "ä", but my mailer
sends latin, not unicode.
In order to avoid interaction with gcc, cat and others else I've written a new
program, reading from a file.
gcc -o unicode unicode.c
LC_CTYPE=de_DE.utf8 ./unicode uni.data
should yield (xterm -u8, LC_CTYPE=en_US.utf8 works as well)
uni.out
Mit freundlichem Gruß / With kind regards
Holger Klawitter
- --
lists <at> klawitter <dot> de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAfA1/1Xdt0HKSwgYRAhldAJoCcNrZ7BGnG1m2SXX/lR1ngqGooQCcDYOF
SlzlbLAJk7/e6rzYZyL7yE4=
=/3bH
-----END PGP SIGNATURE-----
Attachment | Content-Type | Size |
---|---|---|
unicode-testcase.tar.gz | application/x-tgz | 549 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-04-13 16:32:17 | Re: verifying unicode locale support |
Previous Message | Phil Endecott | 2004-04-13 15:41:40 | Re: Filesystem vs. Postgres for images |