pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-admin@postgresql.org
Subject: Re: Warning when connecting from PSQL Command
Date: Mon, 01 Jun 2015 08:03:57 +0200
Message-ID: <mkgskd$sj0$1@ger.gmane.org> (raw)
In-Reply-To: <CANnQH_ixaKcs_sCmh7kRTxoK=opKZutqF-c4VU5HtOoJYHWEJg@mail.gmail.com>
References: <1432923195051-5851717.post@n5.nabble.com>
	<CANnQH_ixaKcs_sCmh7kRTxoK=opKZutqF-c4VU5HtOoJYHWEJg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Harshad Adalkonda schrieb am 30.05.2015 um 20:34:
>> On Fri, May 29, 2015 at 11:43 PM, danny <dinesh4202001@gmail.com <mailto:dinesh4202001@gmail.com>> wrote:
>> 
>>     Warning console code page (437) differs from Window code page (1252) 8- bit
>>     character might not work correctly. See psql reference page "Notes for
>>     windows users" for details
>>     Type "Help" for help
>> 
> 
> Don't mind the warning message it will always shown when you connect to psql terminal.

No, it will not "always" show if you follow the advice given in the manual and change the codepage in 
the command line before starting psql:

    c:\>psql
    psql (9.4.2)
    WARNING: Console code page (850) differs from Windows code page (1252)
             8-bit characters might not work correctly. See psql reference
             page "Notes for Windows users" for details.
    Type "help" for help.

    postgres=> \q

    c:\>chcp 1252
    Active codepage: 1252.

    c:\>psql
    psql (9.4.2)
    Type "help" for help.

    postgres=>


Thomas



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



view thread (4+ messages)

Message-ID: <mkgskd$sj0$1@ger.gmane.org>
Permalink:  ../mkgskd$sj0$1@ger.gmane.org/
Also on:    postgresql.org/message-id/mkgskd$sj0$1@ger.gmane.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: Warning when connecting from PSQL Command
  In-Reply-To: <mkgskd$sj0$1@ger.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