Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

Next:From: Tom LaneDate: 2008-08-02 04:40:34
Subject: Re: Encoding issues
Previous:From: Jeff DavisDate: 2008-08-01 23:46:13
Subject: Re: Encoding issues

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group