Re: Convert text from UTF8 to ASCII - Mailing list pgsql-sql

From Leif B. Kristensen
Subject Re: Convert text from UTF8 to ASCII
Date
Msg-id 200903111646.30330.leif@solumslekt.org
Whole thread Raw
In response to Convert text from UTF8 to ASCII  ("Paul Dam" <p.dam@amyyon.nl>)
Responses Re: Convert text from UTF8 to ASCII
List pgsql-sql
On Wednesday 11. March 2009, Paul Dam wrote:
>Hoi,
>
>
>
>I store content of an .txt file in a text column in the database.
>
>server_encoding is UTF8.
>
>
>
>If the .txt file is in ASCII this is correctly stored in the database.
>
>If the .txt file is in UTF8 this is NOT correctly stored in the
> database.
>
>
>
>Examples:
>
>In Dutch the term for patient is 'patiënt'.
>
>It is stored as 'patiënt'.

That looks a lot like UTF-8 to me. What is your client-encoding?

--
Leif Biberg Kristensen | Registered Linux User #338009
Me And My Database: http://solumslekt.org/blog/


pgsql-sql by date:

Previous
From: Claus Guttesen
Date:
Subject: Re: Convert text from UTF8 to ASCII
Next
From: "Paul Dam"
Date:
Subject: Re: Convert text from UTF8 to ASCII