Re: Encoding issues - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Encoding issues
Date
Msg-id 4893D350.5030100@opencloud.com
Whole thread Raw
In response to Re: Encoding issues  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Encoding issues  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-jdbc by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Encoding issues
Next
From: Tom Lane
Date:
Subject: Re: Encoding issues