Re: UTF8 or Unicode

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: List pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: UTF8 or Unicode
Date: 2005-02-18 12:14:35
Message-ID: 4215DC2B.1050109@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Karel Zak wrote:
> On Sat, 2005-02-19 at 00:27 +1300, Oliver Jowett wrote:
>
>>Karel Zak wrote:
>>
>>
>>>Yes, I think we should fix it and remove UNICODE and WIN encoding names
>>>from PG code.
>>
>>The JDBC driver asks for a UNICODE client encoding before it knows the
>>server version it is talking to. How do you avoid breaking this?
>
> Fix JDBC driver as soon as possible.

How, exactly? Ask for a 'utf8' client encoding instead of 'UNICODE'?
Will this work if the driver is connecting to an older server?

> Add to 8.1 release notes: encoding names 'UNICODE' and 'WIN' are
> deprecated and it will removed in next release. Please, use correct
> names "UTF-8" and "WIN1215".

8.0 appears to spell it 'utf8'.

Removing the existing aliases seems like a fairly gratuitous
incompatibility to introduce to me.

-O

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2005-02-18 12:49:36 Re: UTF8 or Unicode
Previous Message Zeugswetter Andreas DAZ SD 2005-02-18 12:02:32 Re: win32 performance - fsync question