From: opin2 h. <op...@ho...> - 2006-01-13 06:32:50
|
in jython2.2, I want to change to default encoding, so I use setdefaultencoding in site.py, but "unknown encoding error" happen. sys.setdefaultencoding("gbk") Traceback (innermost last): File "<console>", line 1, in ? LookupError: unknown encoding gbk sys.setdefaultencoding("gb2312") Traceback (innermost last): File "<console>", line 1, in ? LookupError: unknown encoding gb2312 thanks in advance. _________________________________________________________________ 免费下载 MSN Explorer: http://explorer.msn.com/lccn |