What is file.encoding convention?
Piet van Oostrum
piet at cs.uu.nl
Fri Jul 24 11:37:21 CEST 2009
>>>>> Naoki INADA <songofacandy at gmail.com> (NI) wrote:
>NI> "Writing unicode to a file(-like)" is a simple requirement.
>NI> Does python have any simple resolution for it?
Yes, Python 3 will do this. For Python < 3.0 you will have to use a
codecs wrapper or explicitely do the encoding.
Piet van Oostrum <piet at cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org
More information about the Python-list