From: Marc Herbert <Marc.Herbert@continuent.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Unicode is not UTF-8. was :psqlODBC-Driver Test / text
Date: Fri, 31 Mar 2006 20:47:05 +0200
Message-ID: <khjzmj6ih92.fsf@meije.emic.fr> (raw)
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C98F3@ratbert.vale-housing.co.uk>
<442C3452.5020704@online.de>
<442C4F10.3090004@tpf.co.jp>
<442D5DFB.4080501@online.de>
Johann Zuschlag <zuschlag2@online.de> writes:
> 'A' = U+0041 (does windows use big-endian?)
Argh, please do not make it even more complex than it needs to be!
Endianness is by chance an _independent_ issue. You just care about it
at the low-low level when dealing with files or network sockets, but
then it's over and you never want to hear about it anymore at a higher
level.
So U+0041 is an integer whose value is:
zero thousand zero hundred forty one
and this is always true, whatever is the byte ordering used by the
processor. You don't need to know more than this, even when converting
to UTF-8 or anything else.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: Marc.Herbert@continuent.com
Subject: Re: Unicode is not UTF-8. was :psqlODBC-Driver Test / text
In-Reply-To: <khjzmj6ih92.fsf@meije.emic.fr>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C98F3@ratbert.vale-housing.co.uk> <442C3452.5020704@online.de> <442C4F10.3090004@tpf.co.jp> <442D5DFB.4080501@online.de> <khjzmj6ih92.fsf@meije.emic.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox