Re: xml type and encodings - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: xml type and encodings
Date
Msg-id 20070116181347.GH8182@svana.org
Whole thread Raw
In response to Re: xml type and encodings  ("Florian G. Pflug" <fgp@phlo.org>)
List pgsql-hackers
On Tue, Jan 16, 2007 at 06:41:56PM +0100, Florian G. Pflug wrote:
> If you do that, maybe it would be the easiest and least confusing thing
> to just _always_ represent an xml document in utf-8, ignoring the
> client_encoding
> entirely for xml.

You can't do that. The server needs to parse the incoming string before
it knows it's dealing with XML. The string from the client must be
interpreted in the client encoding...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: xml type and encodings
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Index for similarity search