OEM character set issue

Kent Johnson kent37 at tds.net
Fri Oct 28 14:56:01 EDT 2005


Dennis Lee Bieber wrote:
> On Fri, 28 Oct 2005 15:55:56 +0200, "Ladvánszky Károly" <aa at bb.cc>
> declaimed the following in comp.lang.python:
> 
> 
>>On my hungarian Win2k, some of the accented characters of the file names
>>appear incorrectly when Python is driven from the command line. However,
>>they
> 
> 
> 	The "MS-DOS" command window tends to use a different character
> encoding than full "Windows" widgets.

You can chaneg the encoding used by the command window with the chcp command.

Kent



More information about the Python-list mailing list