Re: convert gb18030 to utf16

2005-03-07 Thread Xah Lee
Truely superb! Thanks! Xah [EMAIL PROTECTED] http://xahlee.org/ [EMAIL PROTECTED] wrote: > Xah Lee <[EMAIL PROTECTED]> wrotE: > > > i have a bunch of files encoded in GB18030. Is there a way to convert > > them to utf16 with python? > > You will need CJKCodecs (http://cjkpython.i18n.org/),

Re: convert gb18030 to utf16

2005-03-06 Thread and-google
Xah Lee <[EMAIL PROTECTED]> wrotE: > i have a bunch of files encoded in GB18030. Is there a way to convert > them to utf16 with python? You will need CJKCodecs (http://cjkpython.i18n.org/), or Python 2.4, which has them built in. Then just use them like any other codec. eg. f= open(path, 'rb')

convert gb18030 to utf16

2005-03-06 Thread Xah Lee
i have a bunch of files encoded in GB18030. Is there a way to convert them to utf16 with python? Xah [EMAIL PROTECTED] http://xahlee.org/PageTwo_dir/more.html -- http://mail.python.org/mailman/listinfo/python-list