Re: UTF8 or Unicode

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Abhijit Menon-Sen <ams(at)oryx(dot)com>, List pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: UTF8 or Unicode
Date: 2005-02-18 09:28:00
Message-ID: 1108718880.3555.12.camel@petra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 2005-02-15 at 14:33 +0100, Peter Eisentraut wrote:
> Am Dienstag, 15. Februar 2005 10:22 schrieb Karel Zak:
> > in PG: unicode = utf8 = utf-8
> >
> > Our internal routines in src/backend/utils/mb/encnames.c accept all
> > synonyms. The "official" internal PG name for UTF-8 is "UNICODE" :-(
>
> I think in the SQL standard the official name is UTF8. If someone wants to
> verify that this is the case and is exactly the encoding we offer (perhaps
> modulo the 0x10000 issue), then it might make sense to change the canonical
> form to UTF8.

Yes, I think we should fix it and remove UNICODE and WIN encoding names
from PG code.

Karel

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jürgen Cappel 2005-02-18 09:53:32 Re: Help me recovering data
Previous Message Kevin Brown 2005-02-18 05:38:55 Re: Help me recovering data