UTF-8 question.

From: "Richard Connamacher" <rich(dot)n1(at)indieimage(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: UTF-8 question.
Date: 2004-09-17 00:39:48
Message-ID: 200409170039.i8H0dmk3027280@indieimage.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm new to PostgreSQL, and from the looks of it, it's a great database,
and I'll be using more of it in the future.

I had a quick question if anyone could clear this up. The documentation
for PostgreSQL (version 7.1, the version this server is using) says that
it supports multibyte character encodings like Unicode (which implies
UTF-16 encoding). Later on, the same page says that Unicode is
represented using UTF-8 encoding. UTF-8 is the 8-bit version of Unicode.
The multibyte version of Unicode is UTF-16.

So, which is it? If I create a database using Unicode as the encoding,
will the encoding be UTF-8 (singlebyte) or UTF-16 (multibyte)?

Thanks!
Rich

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dan Sugalski 2004-09-17 01:12:58 Re: UTF-8 question.
Previous Message Matteo Beccati 2004-09-16 21:18:28 Re: Strange UTF-8 behaviour