Re: Lossy character conversion to Latin-1 - Mailing list pgsql-general

From John DeSoi
Subject Re: Lossy character conversion to Latin-1
Date
Msg-id 70102AF4-E70A-4CE1-AE35-CCFC0BF61F12@pgedit.com
Whole thread Raw
In response to Re: Lossy character conversion to Latin-1  (Nis Jorgensen <nis@superlativ.dk>)
List pgsql-general
On May 31, 2006, at 5:17 AM, Nis Jorgensen wrote:

> You should be able to do this with regular expressions
> (substituting all
> invalid chars) on the text columns of the result set(s). I write
> "should be", since I don't remember the capabilities of pg regular
> expressions.

I thought about this, but I don't see how to make it work to
transform every character. The substring function accepts POSIX
regular expressions, but the replace function does not. Maybe I can
put something together using substring and position.

Thanks,


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-general by date:

Previous
From: Christopher Browne
Date:
Subject: Re: Best high availability solution ?
Next
From: Terry Lee Tucker
Date:
Subject: Re: Problems posting messages in this mailing-list?