'gbk' codec can't encode character '\u20ac' in position 62114: illegal multibyte sequence
我看js文件里面有一句:
e = "a€|",
应该是这个€符号报错,怎么解决啊
with open('./encryp_js/eventid_encryp.js', 'r', encoding='utf-8') as f: content = f.read() jsdata = execjs.compile(content)
我读的时候是指定了编码的,求大神