cocos3.9版本下,执行cocos.py文件,系统提示无法链接到UTF-8
问题:cocos3.9版本下,执行cocos.py文件,系统提示无法链接到UTF-8。
出错原因:
系统为Mac OS英文版。
解决方案a:
Mac OS切换为中文版。
解决方案b:
1)通过终端打开bash_profile文件
open ~/.bash_profile
2)向bash_profile加入
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
页:
[1]