Closed masu1208 closed 2 years ago
Hi masu1208,
If I'm understanding the error correctly, it appears that the application is trying to open the file with a cp932 codec. The application doesn't explicitly set the codec so it's using a codec assigned by your operating system. You can check the assigned codec by following the steps in the image below.
The code in branch DEV_0303 sets the codec to "utf-8", which appears to be the right codec for the player.log file. Could you please run the python code in branch DEV_0303 to confirm that this is no longer an issue?
Thanks for bringing this to my attention.
I have confirmed that it works in Premier Draft, Quick Draft and Shield.
Issue resolved in version 3.03
It never works in any type of game and I get a DraftStartSearch Error: 'cp932' codec can't decode byte 0x87 in position 3093: illegal multibyte sequence error in debug.log I have a problem with this. I believe the problem is probably that player.log is saved as cp932, but python uses UTF-8.