Re: Why don't I get a LATIN1 encoding here with SET ENCODING? - Mailing list pgsql-sql

From Bryce Nesbitt
Subject Re: Why don't I get a LATIN1 encoding here with SET ENCODING?
Date
Msg-id 4AF0F6A7.7070505@obviously.com
Whole thread Raw
In response to Re: Why don't I get a LATIN1 encoding here with SET ENCODING?  (Craig Ringer <craig@postnewspapers.com.au>)
Responses Re: Why don't I get a LATIN1 encoding here with SET ENCODING?  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-sql

Craig Ringer wrote:
> In truth, that's how I'd expect it to happen. If I ask for the byte 0xfd
> in a string, I don't want the server to decide that I must've meant
> something else because I have a different client encoding. If I wanted
> encoding conversion, I wouldn't have written it in an escape form, I'd
> have written 'ý' not '\375'.
I've got a client encoding of LATIN1... so I'd expect to be able to 
present any valid LATIN1 character, not care how the backend stored it, 
then get the same character back from the database.


pgsql-sql by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Why don't I get a LATIN1 encoding here with SET ENCODING?
Next
From: Craig Ringer
Date:
Subject: Re: Why don't I get a LATIN1 encoding here with SET ENCODING?