jupyterlite / jupyterlite

Wasm powered Jupyter running in the browser 💡
https://jupyterlite.rtfd.io/en/stable/try/lab
BSD 3-Clause "New" or "Revised" License
3.83k stars 293 forks source link

Files with hex encoded characters are uploaded as empty files #1435

Open mlagoma opened 1 month ago

mlagoma commented 1 month ago

Description

When uploading csv's that have hex encoded characters (e.g. https://unicodeplus.com/U+0092), the file appears in the browser but is empty (0 bytes). Uploading the same exact file with the character remove works properly.

Reproduce

  1. Upload file that has hex encoded character

Observe that the file is 0 bytes.

Expected behavior

Should be able to upload the file with hex encoded characters.

Context

mlagoma commented 1 month ago

test_1.txt test_2.csv test_1.csv