blackary / st_pages

An experimental version of Streamlit Multi-Page Apps
MIT License
467 stars 77 forks source link

Codec error on Windows #78

Closed cbpeters closed 11 months ago

cbpeters commented 11 months ago

Users running streamlit and st_pages on windows receive a Codec error due to missing an encoding specification.

The get_icons() function should specify encoding="utf-8" parameter when reading in the emoji file.

blackary commented 11 months ago

It does, as of version 0.4.5 https://github.com/blackary/st_pages/commit/1c41d5b1cd76201f0d7e5ed0e4a4fcf2720d7760