Re: psql file restore - problem with encoding

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Miroslav Šulc <miroslav(dot)sulc(at)startnet(dot)cz>
Cc: PGSQL mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql file restore - problem with encoding
Date: 2005-03-16 15:19:12
Message-ID: C03E8BBC-962E-11D9-8BAD-000A95B03262@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Mar 16, 2005, at 9:34 AM, Miroslav Šulc wrote:

> I have problem on one of our potentional client's linux server with
> data encoding. I have played with this for some time but with no
> success. Here is the problem:
>

Maybe try setting the client side encoding explicitly at the top of the
dump file:

\encoding UNICODE

It should also be possible to set this in the psql command line if you
don't want to modify the file.

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-03-16 15:21:40 Re: generating statistics
Previous Message Marco Colombo 2005-03-16 15:17:51 Re: New user: Windows, Postgresql, Python