This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients ajaksu2, kbk, methane, sgala
Date 2009-04-12.10:40:44
SpamBayes Score 7.2898774e-07
Marked as misclassified No
Message-id <1239532845.85.0.768059245132.issue1542677@psf.upfronthosting.co.za>
In-reply-to
Content
utf-8 is not locale encoding.

>>> f = open('á.txt')

If this line compiled into utf-8 and locale encoding is not utf-8, can't 
open 'á.txt'.

IMHO, in case of Python 2.x, correct approach is fix IOBindings.encoding  
and compile() with pep0263.
History
Date User Action Args
2009-04-12 10:40:45methanesetrecipients: + methane, kbk, sgala, ajaksu2
2009-04-12 10:40:45methanesetmessageid: <1239532845.85.0.768059245132.issue1542677@psf.upfronthosting.co.za>
2009-04-12 10:40:44methanelinkissue1542677 messages
2009-04-12 10:40:44methanecreate