From: Jasen Betts <jasen@xnet.co.nz>
To: pgsql-sql@postgresql.org
Subject: Re: [SPAM]-D] How to find broken UTF-8 characters ?
Date: 30 Apr 2010 10:34:40 GMT
Message-ID: <hrebo0$cma$4@reversiblemaps.ath.cx> (raw)
References: <4BD4DA7B.3000603@gmx.net>
<4BD5670A.803@bankir.ru>
<4BD58A00.7030905@gmx.net>
<4BD835AD.2050902@magwerks.com>
<4BD8F038.6060601@gmx.net>
<4BD98413.1010109@magwerks.com>
On 2010-04-29, Justin Graf <justin@magwerks.com> wrote:
> I'm pretty sure this is the regualr expression to find all non ASCII=20
> chars.. [^\x00-\xFF]
Not in postgres.
\x00 does not work well in strings, and \xFF is invalid utf-8.
this is why I used char()
(also ASCII is undefined past at \x7F ... but the original request
was for LATIN-1 which does end at char(255))
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jasen@xnet.co.nz
Subject: Re: [SPAM]-D] How to find broken UTF-8 characters ?
In-Reply-To: <hrebo0$cma$4@reversiblemaps.ath.cx>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox