python-shogi
python-shogi copied to clipboard
Extend codec support for CSA file parsing
Issue
When trying to parse CSA file in a Windows environment, the below error appeared due to not specifying the encoding format.
UnicodeDecodeError: 'cp932' codec can't decode byte 0x86 in position 47: illegal multibyte sequence
Solution
This fix will specify the two encoding formats already used to parse a KIF file which are 'cp932' and 'utf-8-sig'.
@yoshi486x Thank you for your contribution!