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

Warning console code page (437) differs from Window code page (1252)

From: "Sharon" <shazs22(at)optusnet(dot)com(dot)au>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Warning console code page (437) differs from Window code page (1252)
Date: 2012-03-18 05:32:20
Message-ID: BEC3F18B58A449F794261E345D7DFA53@user3 (view raw or flat)
Thread:
Lists: pgsql-novice
Previously I wrote>Just a note for Windows XP users
>I had a drama with psql 
>At boot up this psql warning appeared
>Warning console code page (437) differs from Window code page (1252)

>I found the runsql.bat file and added 
>cmd.exe /c chcp 0437

 >to the top and saved it

>When run the runsql.bat file reset the code page, returned
>"Active code page 437",
>got rid of the warning and psql began working (coincidence?)Resetting the console code page to 437 worked for a while then the pesky warning came back.I then changed the runsql.bat file command tocmd.exe /c chcp 1252The console recognised the change and logically the warning disappeared.hopefully forever!Regards John

pgsql-novice by date

Next:From: Gowthamie BalamuruganDate: 2012-03-20 05:55:39
Subject: Optimizing PostgreSQL Queries
Previous:From: Andreas KretschmerDate: 2012-03-16 14:29:00
Subject: Re: PG Admin - Import from URL?

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