Specify encoding='utf-8' in Path.open() calls in personalize_file()
akshaya-a opened this issue Β· comments
π Describe the bug
by default, the open() command in text mode ('t') will use the platform encoding, which on windows happens to not be utf-8. In your case as the content is known to be utf-8, a simple fix would be to specify the encoding= kwarg on open()
Versions
python 3.9, latest template
Thanks @akshaya-a, just pushed a fix