Closed katotetsuro closed 6 months ago
This may not be the problem with jupyterlite-xeus, If I try to open a file with a path that contains Unicode characters, such as open('あ'), I get a UnicodeEncodeError.
open('あ')
import locale locale.getencoding() > 'ASCII'
Unlike pyodide, the result of locale.getencoding() is 'ASCII', so if I could set the locale somewhere, it would solve the problem.
Is the locale in empack or conda env affecting it?
locale
This problem seems to be resolved now, I thought it was a python issue on emscripten-forge, but it doesn't seem to have been specifically updated 🤔
Description
This may not be the problem with jupyterlite-xeus, If I try to open a file with a path that contains Unicode characters, such as
open('あ')
, I get a UnicodeEncodeError.Reproduce
open('あ')
Context
Unlike pyodide, the result of locale.getencoding() is 'ASCII', so if I could set the locale somewhere, it would solve the problem.
Is the
locale
in empack or conda env affecting it?