Re: xml type and encodings

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: xml type and encodings
Дата
Msg-id 20070116181347.GH8182@svana.org
обсуждение исходный текст
Ответ на Re: xml type and encodings  ("Florian G. Pflug" <fgp@phlo.org>)
Список 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 по дате отправления:

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: xml type and encodings
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Index for similarity search