Re: [BUGS] BUG #14779: Can't Backup Database - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: [BUGS] BUG #14779: Can't Backup Database
Date
Msg-id CAB7nPqRx5oc0Je8nSTOaegKABEn+yqYcX3e-MumHvKR8tKAmJw@mail.gmail.com
Whole thread Raw
In response to [BUGS] BUG #14779: Can't Backup Database  (myprofmailbox@gmail.com)
List pgsql-bugs
On Tue, Aug 15, 2017 at 6:55 AM,  <myprofmailbox@gmail.com> wrote:
>    I'm using Postgresql v9.3 with Odoo, and the company want to have an
> arabic name for every database (company in Odoo).
> I created four arabic separate databases (with arabic database name for each
> one)...Until now everything goes well, but when i want to backup any
> database i receive an error (uknown "?????" database). I think that the
> problem is coming from pg_dump with utf8...i'm really blocked ...Do you have
> any solution for that? Thank you in advance for help.

You may want to use chcp 65001 before running pg_dump so the encoding
used by cmd is correct.
-- 
Michael


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: [BUGS] [postgresql 10 beta3] unrecognized node type: 90
Next
From: Peter Geoghegan
Date:
Subject: Re: [BUGS] Crash report for some ICU-52 (debian8) COLLATE andwork_mem values