Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y17M4-0003UL-08 for pgsql-novice@arkaria.postgresql.org; Wed, 17 Dec 2014 05:41:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y17M3-0006n4-DR for pgsql-novice@arkaria.postgresql.org; Wed, 17 Dec 2014 05:40:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y17M2-0006my-Ml for pgsql-novice@postgresql.org; Wed, 17 Dec 2014 05:40:58 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y17Lz-0003V0-KX for pgsql-novice@postgresql.org; Wed, 17 Dec 2014 05:40:56 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 7F91EDF0BF2 for ; Tue, 16 Dec 2014 21:40:55 -0800 (PST) Date: Tue, 16 Dec 2014 22:40:54 -0700 (MST) From: David G Johnston To: pgsql-novice@postgresql.org Message-ID: <1418794854447-5831041.post@n5.nabble.com> In-Reply-To: <54910242.3090706@gmail.com> References: <54910242.3090706@gmail.com> Subject: Re: warning about console code page on starting psql MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.3 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-novice Precedence: bulk Sender: pgsql-novice-owner@postgresql.org Going from memory here but... The window is which the command prompt appears is called the console. When you type psql at the command prompt you are now running a console application in that same console. You can have more than one running console and each one is independent. Any changes to the console, e.g. via the "cmd.exe /c chcp 1252" command, only persist as long as that console window remains open. Going into and out of a console application should not make a difference, only closing the actual window. Same goes for the font - it is a property of the console and not psql directly. Since the database server uses the Windows code page you want your console to match. So given said warning you want to supply the current Windows value to the chcp command. The message and documentation could probably be improved though I'm not positive what I am saying is 100% correct as I have never encountered this problem - because I've never used psql on Windows... David J. -- View this message in context: http://postgresql.nabble.com/warning-about-console-code-page-on-starting-psql-tp5831036p5831041.html Sent from the PostgreSQL - novice mailing list archive at Nabble.com. -- Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-novice