From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6742: pg_dump doesn't convert encoding of DB object names to OS encoding
Date: Wed, 18 Jul 2012 09:21:53 +0200
Message-ID: <ju5o6o$fe8$1@dough.gmane.org> (raw)
In-Reply-To: <E1SrOVd-00028F-Sz@wrigleys.postgresql.org>
References: <E1SrOVd-00028F-Sz@wrigleys.postgresql.org>
exclusion@gmail.com, 18.07.2012 09:17:
> The following bug has been logged on the website:
>
> Bug reference: 6742
> Logged by: Alexander LAW
> Email address: exclusion@gmail.com
> PostgreSQL version: 9.1.4
> Operating system: Windows
> Description:
>
> When I try to dump database with UTF-8 encoding in Windows, I get unreadable
> object names.
> Please look at the screenshot (http://oi50.tinypic.com/2lw6ipf.jpg). On the
> left window all the pg_dump messages displayed correctly (except for the
> prompt password (bug #6510)), but the non-ASCII object name is gibberish. On
> the right window (where dump is done with the Windows 1251 encoding (OS
> Encoding for Russian locale)) everything is right.
>
Did you check the dump file using an editor that can handle UTF-8?
The Windows console is not known for properly handling that encoding.
Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: spam_eater@gmx.net
Subject: Re: BUG #6742: pg_dump doesn't convert encoding of DB object names to OS encoding
In-Reply-To: <ju5o6o$fe8$1@dough.gmane.org>
References: <E1SrOVd-00028F-Sz@wrigleys.postgresql.org> <ju5o6o$fe8$1@dough.gmane.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox