打印查询结果,中文显示为了???
[(‘72H FCR‘, ‘2.0‘), (‘?????‘, ‘8.0‘)]
E:\Python35\Lib\site-packages中新增文件:
sitecustomize.py
import os os.environ[‘NLS_LANG‘] = ‘SIMPLIFIED CHINESE_CHINA.UTF8‘
原文地址:https://www.cnblogs.com/gcgc/p/11526420.html
时间: 2024-10-03 19:10:21