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
Ever since the patch for this #635, I've always had issues with random player names displayed on top, since it forced "WINDOWS-1252" encoding to "gb2312" which only works with Simplified Chinese, where a system with Traditional Chinese uses "Big5" (which is also WINDOWS-1252). In this case, when the information is changed, it would display with the wrong characters, even if it is saved and load by Lizzie itself.
I've applied a dirty fix myself ever since by adding an encoding method to the save function in the SGFParser.java with Writer writer = new OutputStreamWriter(new FileOutputStream(filename), "UTF-8") so I can manually change the info and write back as UTF-8 encoding, which would work well even with other platforms. But it is not a good fix by any measure.
I feel it is time to properly add the CA property tag for the encoding in the SGF format like most current sgf software already did (like Sabaki, MultiGo, GoGUI, etc.) to permanently solve the character encoding and display issue disregarding which platform it is in.
The text was updated successfully, but these errors were encountered:
Ever since the patch for this #635, I've always had issues with random player names displayed on top, since it forced "WINDOWS-1252" encoding to "gb2312" which only works with Simplified Chinese, where a system with Traditional Chinese uses "Big5" (which is also WINDOWS-1252). In this case, when the information is changed, it would display with the wrong characters, even if it is saved and load by Lizzie itself.
I've applied a dirty fix myself ever since by adding an encoding method to the
save
function in theSGFParser.java
withWriter writer = new OutputStreamWriter(new FileOutputStream(filename), "UTF-8")
so I can manually change the info and write back as UTF-8 encoding, which would work well even with other platforms. But it is not a good fix by any measure.I feel it is time to properly add the CA property tag for the encoding in the SGF format like most current sgf software already did (like Sabaki, MultiGo, GoGUI, etc.) to permanently solve the character encoding and display issue disregarding which platform it is in.
The text was updated successfully, but these errors were encountered: