Windows: UnicodeDecodeError: 'charmap' codec can't decode byte... when loading bundle.js #1173
Unanswered
stevej2608 asked this question in Problem
Replies: 1 comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would be great if you could PR a solution alongside a regression test. New issue created: |
BetaWas this translation helpful?Give feedback.
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm developing a custom JS component. When I test the component it works fine on Linux but when I test on Windows I get UnicodeDecodeError: 'charmap' codec can't decode byte'.., It happens when the bundle is being loaded.
The problem is that fixed by adding utf-8 encoding to loader.
./reactpy/web/utils.py#L31
BetaWas this translation helpful?Give feedback.
All reactions