haochengxia / vscode-pydata-viewer

Display PyData files (.npz .npy .pkl .pth) in VSCode.
https://marketplace.visualstudio.com/items?itemName=Percy.vscode-pydata-viewer
MIT License
14 stars 8 forks source link

parsing error #15

Closed mrx23dot closed 8 months ago

mrx23dot commented 9 months ago

List of strings in pickle can give: 'charmap' codec can't encode characters in position 49972-49980: character maps to

haochengxia commented 8 months ago

Could you please share any relevant code or file that can help in reproducing the problem? Thanks in advance!

PS: It appears that this issue may have arisen due to encoding. Could you please check it to confirm?

mrx23dot commented 8 months ago

Sorry, I cant find the file again, I will open a new one when it does it again. Thanks!