Re: verifying unicode locale support

Поиск
Список
Период
Сортировка
От Holger Klawitter
Тема Re: verifying unicode locale support
Дата
Msg-id 200404131752.43382.lists@klawitter.de
обсуждение исходный текст
Ответ на Re: verifying unicode locale support  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: verifying unicode locale support  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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-----

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Phil Endecott
Дата:
Сообщение: Re: Filesystem vs. Postgres for images
Следующее
От: Tom Lane
Дата:
Сообщение: Re: verifying unicode locale support