首页 > 解决方案 > Error when using PyInstaller: 'ascii' codec can't encode character '\u274c' in position 19: ordinal not in range(128)

问题描述

Error:

'ascii' codec can't encode character '\u274c' in position 19: ordinal not in range(128)

Command:

print(u"storage in ",storageObject['directory']," directory Check : Failed \u274C" )

Python Version: 3.8.8+

PyInstaller Version: 4.2

Encoding of File Saved

utf-8 (without BOM)

标签: pythonpython-3.xencodingasciipyinstaller

解决方案


推荐阅读