Re: Encoding issues

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Encoding issues
Date: 2008-08-02 03:24:00
Message-ID: 4893D350.5030100@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Jeff Davis wrote:

> But when someone _does_ use non-ASCII database names, etc., shouldn't we
> produce some kind of useful error,

That's fair enough.

> or at least blindly pass the bytes on
> to the server?

What bytes? You have a bunch of UTF-16 characters (possibly with
surrogate pairs etc). What encoding do you use to turn that into a
bytestream?

-O

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2008-08-02 04:40:34 Re: Encoding issues
Previous Message Jeff Davis 2008-08-01 23:46:13 Re: Encoding issues