Re: XPATH vs. server_encoding != UTF-8

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Florian Pflug <fgp(at)phlo(dot)org>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: XPATH vs. server_encoding != UTF-8
Date: 2011-07-23 20:49:51
Message-ID: 1311454191.7472.0.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On lör, 2011-07-23 at 17:49 +0200, Florian Pflug wrote:
> The current thread about JSON and the ensuing discussion about the
> XML types' behaviour in non-UTF8 databases made me try out how well
> XPATH() copes with that situation. The code, at least, looks
> suspicious - XPATH neither verifies that the server encoding is UTF-8,
> not does it pass the server encoding on to libxml's xpath functions.

This issue is on the Todo list, and there are some archive links there.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-07-23 22:53:49 Re: [COMMITTERS] pgsql: Looks like we can't declare getpeereid on Windows anyway.
Previous Message Joshua D. Drake 2011-07-23 17:36:57 Re: Policy on pulling in code from other projects?