Re: How do I change the server encoding?

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How do I change the server encoding?
Date: 2003-02-26 01:16:47
Message-ID: b3h4hs$197v$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Peter Eisentraut wrote:
> Philippe Kiener writes:
>
>
>>My database should be transform from SQL_ASCII to utf-8
>>
>>I have added that line to my dumps:
>>
>>SET CLIENT_ENCODING TO 'SQL_ASCII';
>>
>>Now when I load the dump into my db, I get that error on tables with text:
>>
>>psql:tcom-database.sql:7111: ERROR: copy: line 1, Invalid UNICODE character
>>sequence found (0xe96500)
>
>
> The client encoding SQL_ASCII means that the data will be passed through
> unchanged. Try setting it to LATIN1.
>
I tried with latin1 and it didn't work.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Shraibman 2003-02-26 03:13:18 Re: How do I change the server encoding?
Previous Message Hadley Willan 2003-02-26 01:07:12 Re: Why are absolute paths considered a security risk?

Browse pgsql-hackers by date

  From Date Subject
Next Message Joseph Shraibman 2003-02-26 03:13:18 Re: How do I change the server encoding?
Previous Message Radha Manohar 2003-02-25 23:33:48 Figures in Developer's guide