posit-dev / py-shinylive

Python package for deploying Shinylive applications
https://shiny.posit.co/py/docs/shinylive.html
MIT License
42 stars 4 forks source link

Incorrect handling of characters like €, Ä,Ö,Ü,ä,ö,ü #28

Closed wgemm closed 3 months ago

wgemm commented 3 months ago

When I deploy my project with shinylive I get problems with the character handling. This issue was fixed in shiny with the last version. But the webassembly still can't handle it.

Running it with shiny grafik

Running as webassembly grafik

wch commented 3 months ago

What platform are you deploying from? If it is Windows, I have an idea of what might be going on.

wgemm commented 3 months ago

I am deploying from Windows 10

wch commented 3 months ago

I made a potential fix in #29.

Does it work if you install with the following command and then deploy again?

pip install git+https://github.com/posit-dev/py-shinylive.git@windows-encoding --force-reinstall
wgemm commented 3 months ago

Thanks a lot. I have tested the branch. The version works fine for me!

wch commented 3 months ago

Great!