svn:Can't convert string from native encoding to 'UTF-8',解决办法

Saturday, January 30, 2010

设置一下语言为(export LANG=zh_CN.UTF-8):

在Python脚本中设定的话需要加一行.

os.environ['LANG']="zh_CN.UTF-8"

This entry was tagged Linux and svn

comments powered by Disqus

© 2009-2013 lxneng.com. All rights reserved. Powered by Pyramid

go to Top