Re: [GENERAL] Problem with the accents - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [GENERAL] Problem with the accents
Date
Msg-id 20011002144759N.t-ishii@sra.co.jp
Whole thread Raw
List pgsql-hackers
You are definitely inputting ISO 8859-1 characters, not UTF-8. That's
the source of your problem.

> Tatsuo Ishii wrote:
> > 
> > > > Are you sure that you put the query in UTF-8 encoding?
> > >
> > > Yes :
> > >
> > > essai=> SHOW CLIENT_ENCODING;
> > > NOTICE:  Current client encoding is UNICODE
> > > SHOW VARIABLE
> > 
> > My point is whether you put the character in UTF-8 or not. Try:
> > 
> > $ echo 'e' > e.txt (e is actually e + accent)
> > $ od -x e.txt
> > 
> > and show me the result of "cat e.txt"
> 
> 
> $ echo 'é' > e.txt
> 
> $ cat e.txt
> é
> 
> $ od -x e.txt
> 0000000 0ae9
> 0000002


pgsql-hackers by date:

Previous
From: Sean Chittenden
Date:
Subject: Re: cvs problem
Next
From: "James L. Hubbard III"
Date:
Subject: Genetic Query Optimizer