jupyterlab-filesystem-access
jupyterlab-filesystem-access copied to clipboard
Certain byte are incorrectly replaced to EFBFBD when opening a local binary file in /drive (while /drive is referring to Local Files)
Description
Certain byte are incorrectly replaced to EFBFBD when opening a local binary file in /drive. (while /drive is referring to Local Files) (Found by chance in #48)
Reproduce
read a local binary file in /drive.
Expected behavior
do not replace
Context
- JupyterLite version: 0.1.0-beta.17
- jupyterlab-filesystem-access version: v0.5.3
- Browser and its version: Chrome 108.0.5359.124 (Official Build) (x86_64)
Is it because the format of the binary file is text instead of base64 ?
We assume here image, audio and video mimetypes are all and only binary files we'll encounter
oops, i opened the zip file
I want to list "mimetypes" that should be treated as plain text