By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,551 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,551 IT Pros & Developers. It's quick & easy.

OEM character set issue

P: n/a
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
appear okay when the same script is running within an IDE. The same problem
holds in the case of text files edited by GUI editors. Is there any solution
in the Python arsenal?

Thanks for any help,

Károly
Oct 28 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Fri, 28 Oct 2005 15:55:56 +0200, "Ladvánszky Károly" <aa@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.

Makes this a M$ problem, not Python...
-- ================================================== ============ <
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
================================================== ============ <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.netcom.com/> <

Oct 28 '05 #2

P: n/a
Dennis Lee Bieber wrote:
On Fri, 28 Oct 2005 15:55:56 +0200, "Ladvánszky Károly" <aa@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
Oct 28 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.