Re: [GENERAL] Encoding problem using pg_dumpall

2009-01-29 Thread Magnus Hagander
Tom Lane wrote: > Magnus Hagander writes: >> Tom Lane wrote: >>> (Hmm, actually it looks like pg_dumpall hasn't got a -E switch, >>> which seems like an oversight. So you need to fix your locale, >>> or else use pg_dump directly.) > >> IIRC, you can't set the windows console to be UTF8. > > Ugh

Re: [GENERAL] Encoding problem using pg_dumpall

2009-01-29 Thread Tom Lane
Magnus Hagander writes: > Tom Lane wrote: >> (Hmm, actually it looks like pg_dumpall hasn't got a -E switch, >> which seems like an oversight. So you need to fix your locale, >> or else use pg_dump directly.) > IIRC, you can't set the windows console to be UTF8. Ugh. That seems to raise the pr

Re: [GENERAL] Encoding problem using pg_dumpall

2009-01-29 Thread Magnus Hagander
Tom Lane wrote: > "Moshe Ben-Shoham" writes: >> C:\Program Files\PostgreSQL\8.3\bin>pg_dumpall -U admint > >> c:\temp\dbdump.sql >> pg_dump: SQL command failed >> pg_dump: Error message from server: ERROR: character 0xd595 of encoding >> "UTF8" has no equivalent in "WIN1252" > > Apparently you h

Re: [GENERAL] Encoding problem using pg_dumpall

2009-01-29 Thread Tom Lane
"Moshe Ben-Shoham" writes: > C:\Program Files\PostgreSQL\8.3\bin>pg_dumpall -U admint > > c:\temp\dbdump.sql > pg_dump: SQL command failed > pg_dump: Error message from server: ERROR: character 0xd595 of encoding > "UTF8" has no equivalent in "WIN1252" Apparently you have WIN1252 set as the defa

Re: [GENERAL] encoding problem at restore

2007-02-18 Thread Michael Fuhr
On Sat, Feb 17, 2007 at 03:12:44AM -0800, Bob Hunter wrote: > ERROR: invalid byte sequence for encoding "UTF8": > 0xe02031 > HINT: This error can also happen if the byte sequence > does not match the encoding expected by the server, > which is controlled by "client_encoding". > CONTEXT: COPY , l

Re: [GENERAL] Encoding problem

2006-10-23 Thread Arnaud Lesauvage
Albe Laurenz a écrit : I am trying to remove accents from a string. I found a nice solution for this on postgresqlfr, using the to_ascii() function. Now, the problem I have is : mydb=# SELECT to_ascii(convert('abcdef', 'LATIN9')); ERROR: encoding conversion from UTF8 to ASCII not supported

Re: [GENERAL] Encoding problem

2006-10-23 Thread Albe Laurenz
> I am trying to remove accents from a string. I found a nice > solution for this on postgresqlfr, using the to_ascii() > function. > > Now, the problem I have is : > > mydb=# SELECT to_ascii(convert('abcdef', 'LATIN9')); > ERROR: encoding conversion from UTF8 to ASCII not supported > > Why i

Re: [GENERAL] encoding problem

2006-10-14 Thread jef peeraer
jef peeraer schreef: i never thought i would be bblocked by an encoding problem :-( My database is in LATIN1 , i have entries like this in a table called gemeenten Column | Type | Modifiers ---+--+

Re: [GENERAL] encoding problem

2006-10-13 Thread stevegy
Hi Jef,I use the prototype 1.4 to ajax some web pages. I have to encodeURI the post form data especial the string form value, otherwise the server will receive wrong encoding characters.If you can not see the query result in correct web page encoding, maybe the page container of this XUL ajax contr

Re: [GENERAL] encoding problem

2006-10-13 Thread [EMAIL PROTECTED]
jef peeraer wrote: i never thought i would be bblocked by an encoding problem :-( My database is in LATIN1 , i have entries like this in a table called gemeenten Column | Type | Modifiers ---+--+--

Re: [GENERAL] Encoding problem

2006-08-30 Thread John DeSoi
On Aug 30, 2006, at 6:29 AM, Pantelis Natsiavas wrote: In addition trying to make the same query through the query tool of pgadmin, I receive the same answer and of course null results. I don't know if it matters, but I am using Windows XP and PostgreSQL 8.1 with JDBC 3. I have checked ev

Re: [GENERAL] encoding problem

2005-12-02 Thread Volkan YAZICI
On 12/1/05, marcelo Cortez <[EMAIL PROTECTED]> wrote: > i have problems with encodings PostgreSQL case conversion functions is a little bit buggy. (Especially for Latin-N and Unicode encodings.) I've prepared a patch [1] to fix a similar problem for Latin5 encoding. It wasn't tested so much but w

Re: [GENERAL] encoding problem

2005-12-01 Thread marcelo Cortez
--- Tom Lane <[EMAIL PROTECTED]> escribió: > marcelo Cortez <[EMAIL PROTECTED]> writes: > > i have problems with encodings > > You need to make sure that the database locale > matches what you want, > not only the encoding. > > See the "Localization" chapter in the docs: > http://www.postgres

Re: [GENERAL] encoding problem

2005-12-01 Thread Tom Lane
marcelo Cortez <[EMAIL PROTECTED]> writes: > i have problems with encodings You need to make sure that the database locale matches what you want, not only the encoding. See the "Localization" chapter in the docs: http://www.postgresql.org/docs/8.1/static/charset.html reg

Re: [GENERAL] Encoding problem

2005-04-22 Thread Fritz Bayer
[EMAIL PROTECTED] (Andreas Seltenreich) wrote in message news:<[EMAIL PROTECTED]>... > Fritz Bayer schrob: > > > The problem is that alls the "ü" characters get displayed as "". > > > > Why is that so? > > This could happen when your locale isn't properly set up. If, for > example, LC_CTYPE is s

Re: [GENERAL] Encoding problem

2005-04-20 Thread Andreas Seltenreich
Fritz Bayer schrob: > The problem is that alls the "ü" characters get displayed as "". > > Why is that so? This could happen when your locale isn't properly set up. If, for example, LC_CTYPE is set to C, your pager thinks this character isn't printable and tries to do something smart with it. You

Re: [GENERAL] Encoding problem

2005-04-20 Thread Richard Huxton
Fritz Bayer wrote: Hi, when I enter the following SELECT into psql select * from mytable where data like '%ü%' I get a selection of a couple of rows. The problem is that alls the "ü" characters get displayed as "". Why is that so? Probably something in your terminal setup. I always have endless t