Re: UTF8 or Unicode
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Dave Page <dpage@vale-housing.co.uk>, Oliver Jowett <oliver@opencloud.com>, Karel Zak <zakkr@zf.jcu.cz>, List pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2005-02-19T03:58:34Z
Lists: pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I think we just need to _favor_ UTF8.
I agree.
> The question is where are we
> favoring Unicode rather than UTF8?
It's the canonical name of the encoding, both in the code and the docs.
regression=# create database e encoding 'utf-8';
CREATE DATABASE
regression=# \l
List of databases
Name | Owner | Encoding
------------+----------+-----------
e | postgres | UNICODE
regression | postgres | SQL_ASCII
template0 | postgres | SQL_ASCII
template1 | postgres | SQL_ASCII
(5 rows)
As soon as we decide whether the canonical name is "UTF8" or "UTF-8"
;-) we can fix it.
regards, tom lane