|
|

楼主 |
发表于 2004-6-3 18:45:46
|
显示全部楼层
sorry说,我发贴的时候只是在windows里建了个问题,cp到linux下能打开,有点信口胡说了。;p
treeline的encoding似乎跟locale没什么关系,是在程序里直接设置的:
if hasattr(sys, 'setappdefaultencoding'):
sys.setappdefaultencoding('utf-8')
elif sys.getdefaultencoding() != 'utf-8':
print 'Warning: encoding not set for unicode - see ReadMe file'
我不知道你是怎么装的,readme里有提到,需要把sitecustomize.py里的内容添加到python的site-packages目录的同名文件里(没有就建一个),你查查看有没有。 |
|