jupyterlab-filesystem-access icon indicating copy to clipboard operation
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)

Open tanaga9 opened this issue 2 years ago • 1 comments

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

sc_20230109_162545

tanaga9 avatar Jan 09 '23 07:01 tanaga9

I want to list "mimetypes" that should be treated as plain text

tanaga9 avatar Jan 18 '23 11:01 tanaga9