摘要:
[root@bogon test]# vi /etc/sysconfig/i18nLANG="zh_CN.GB18030"LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN" SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en" SYSFONT="lat0-sun16"重启系统即可。如果还是不行,可以这么做:1、console终端乱码在/etc/profile文件的最后一行添加如下内容:export LC_ALL="z 阅读全文
摘要:
import psycopg2Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/psycopg2-2.4.1-py2.4-linux-x86_64.egg/psycopg2/__init__.py", line 71, in ? from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWIDImportError: 阅读全文