matanki-saito / CK2SpecialEscape

CK2 special encoding
MIT License
11 stars 2 forks source link

0x3b not escaped cause problem #1

Closed bruceCzK closed 6 years ago

bruceCzK commented 6 years ago

I'm using your patch for Chinese translation, and I notice some letter like '主','总', these letter's high byte is 0x3b, it is semicolon in latin1, which will lead to unexpected string split in csv file.

So I tried to add 0x3b to convertWideTextToEscapedWideText, and it worked. Hope you can make some change to fix this.

https://github.com/matanki-saito/CK2SpecialEscape/blob/286c7948727a7536dd160a902c6c735bd7ed9e71/ck2speacialescape/ck2speacialescape/ck2speacialescape.cpp#L279

matanki-saito commented 6 years ago

Sorry, I did not notice this issue. 🙇 I confirm.

bruceCzK commented 6 years ago

LOL

matanki-saito commented 6 years ago

https://github.com/matanki-saito/CK2SpecialEscape/commit/8d817589fff5af7bb11f3157cbc2e14b2231cc1e done