WhiteMagic / JoystickGremlin

A tool for configuring and managing joystick devices.
http://whitemagic.github.io/JoystickGremlin/
GNU General Public License v3.0
306 stars 45 forks source link

UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 2: illegal multibyte sequence #509

Closed shinelith closed 7 months ago

shinelith commented 8 months ago

version 13.3

then i load profile i got a UnicodeDecodeError

Traceback (most recent call last): File "joystick_gremlin.py", line 424, in load_profile File "joystick_gremlin.py", line 1075, in _load_recent_profile File "joystick_gremlin.py", line 1018, in _save_changes_request File "joystick_gremlin.py", line 1047, in _has_profile_changed UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 2: illegal multibyte sequence

WhiteMagic commented 7 months ago

This is likely caused by the same underlying issue that causes #465 (which mentions a possible workaround) and #301.