Skip site navigation (1) Skip section navigation (2)

Re: BUG #6742: pg_dump doesn't convert encoding of DB object names to OS encoding

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6742: pg_dump doesn't convert encoding of DB object names to OS encoding
Date: 2012-07-18 07:21:53
Message-ID: ju5o6o$fe8$1@dough.gmane.org (view raw or flat)
Thread:
Lists: pgsql-bugs
exclusion(at)gmail(dot)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(at)gmail(dot)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




In response to

pgsql-bugs by date

Next:From: Alexander LawDate: 2012-07-18 08:51:34
Subject: Re: BUG #6742: pg_dump doesn't convert encoding of DB object names to OS encoding
Previous:From: exclusionDate: 2012-07-18 07:17:21
Subject: BUG #6742: pg_dump doesn't convert encoding of DB object names to OSencoding

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group