jiphy icon indicating copy to clipboard operation
jiphy copied to clipboard

rise gbk error

Open xxller opened this issue 1 year ago • 2 comments

Traceback (most recent call last): File "D:\pycharm_project\github\jiphy\venv\Scripts\jiphy-script.py", line 33, in sys.exit(load_entry_point('jiphy==1.2.2', 'console_scripts', 'jiphy')()) File "D:\pycharm_project\github\jiphy\venv\lib\site-packages\jiphy-1.2.2-py3.9.egg\jiphy\main.py", line 115, in main UnicodeDecodeError: 'gbk' codec can't decode byte 0xac in position 69453: illegal multibyte sequence

xxller avatar Apr 14 '23 23:04 xxller

me too

Eleven1202 avatar May 12 '23 07:05 Eleven1202

你可以试试 import jiphy

with open("bundles.js", "r", encoding="utf-8") as fp: exec_js = fp.read() jiphy.to.python(exec_js)

Eleven1202 avatar May 12 '23 07:05 Eleven1202