Hi,
I am testing ssh_commander on a Windows environment and encountered a crash when the program tries to read the configuration file.
Error log:
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 79: character maps to
Steps to Reproduce:
- Run ssh_commander on Windows with a servers.yaml file containing non-ASCII characters or created in a Windows environment.
- Execute: python ssh_commander.py --config servers.yaml list
Possible Cause:
It seems the open() function in ssh_commander.py (likely when loading the config) does not specify an encoding, defaulting to the system's locale (CP1253/charmap) instead of UTF-8.
Hi,
I am testing ssh_commander on a Windows environment and encountered a crash when the program tries to read the configuration file.
Error log:
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 79: character maps to
Steps to Reproduce:
Possible Cause:
It seems the open() function in ssh_commander.py (likely when loading the config) does not specify an encoding, defaulting to the system's locale (CP1253/charmap) instead of UTF-8.