You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behavior
UnicodeDecodeError occur as follows.
C:\Users\fukusuke>python
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pytaxonomies import Taxonomies
>>> taxonomies = Taxonomies()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\fukusuke\AppData\Local\Programs\Python\Python311\Lib\site-packages\pytaxonomies\api.py", line 257, in __init__
self.manifest = self.loader(manifest_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\fukusuke\AppData\Local\Programs\Python\Python311\Lib\site-packages\pytaxonomies\api.py", line 282, in __load_path
return json.load(f)
^^^^^^^^^^^^
File "C:\Users\fukusuke\AppData\Local\Programs\Python\Python311\Lib\json\__init__.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^
UnicodeDecodeError: 'cp932' codec can't decode byte 0x93 in position 15191: illegal multibyte sequence
Expected behavior
UnicodeDecodeError does not occur.
Hello, Thank you for maintaining the tool :) There was an error about encoding, so I report it.
Describe the issue
An error occurs on Windows in locales where UTF-8 is not the default encoding.
Step to Reproduce
Actual behavior
UnicodeDecodeError occur as follows.
Expected behavior
UnicodeDecodeError does not occur.
Environment
Windows 11
3.11.4
The text was updated successfully, but these errors were encountered: