lexibank / pylexibank

The python curation library for lexibank
Apache License 2.0
18 stars 7 forks source link

Explicitly set encoding for metadata #273

Closed chrzyki closed 12 months ago

chrzyki commented 12 months ago

On Windows, UTF-8 needs to be explicitly set as encoding for writing the metadata, see https://github.com/lexibank/pylexibank/issues/272#issuecomment-1803902903.

NB: 'UTF-8' mode can be enforced on Windows platforms with PYTHONUTF8=1. I'm not sure whether recommending doing this is preferable to explicitly setting the encoding.