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
I am a CKII player and have been utilizing your software, CK2dll. Firstly, I would like to express my gratitude for your diligent work on this project, which has significantly aided my endeavors.
Recently, I encountered a challenge while handling the save files in CK2dll. I observed that some names are stored in a peculiar encoding format, like "bn="�¯e�eg"". I suspect these represent Chinese characters, but I am unable to decode them accurately.
As I am not very proficient in C++, I have faced difficulties in understanding and replicating the specific encoding method used in the save files. I am interested in implementing this encoding method in a Go language, to translate these seemingly garbled characters into readable Chinese names.
Therefore, I would like to seek your guidance on the following:
How is character encoding implemented in the CK2dll save files? Is there a specific algorithm or method used?
Could you guide me to the part of the code where this encoding is implemented, or provide some detailed instructions on the encoding process?
I appreciate any professional knowledge you can share and the valuable time you spend in responding. Your assistance or guidance in this matter would be greatly appreciated.
Looking forward to your reply, and once again, thank you for your contribution to CK2dll.
The text was updated successfully, but these errors were encountered:
This special encoding always expresses the 2byte character in 3byte.First character is 0x10 to 0x14.In the case of 0x10, the subsequent 2byte is considered to be the codepoint of the unicode.In the case of 0x11 to 0x14, the value shifted from the subsequent 2byte number is considered codePoint.
This shift allows you to safely embed two bytes into the original string, the CP1252 byte string
The js code written by the manager of paratranz is in the gist, so it might be helpful.
Dear Mantanki Saito,
I am a CKII player and have been utilizing your software, CK2dll. Firstly, I would like to express my gratitude for your diligent work on this project, which has significantly aided my endeavors.
Recently, I encountered a challenge while handling the save files in CK2dll. I observed that some names are stored in a peculiar encoding format, like "bn="�¯e�eg"". I suspect these represent Chinese characters, but I am unable to decode them accurately.
As I am not very proficient in C++, I have faced difficulties in understanding and replicating the specific encoding method used in the save files. I am interested in implementing this encoding method in a Go language, to translate these seemingly garbled characters into readable Chinese names.
Therefore, I would like to seek your guidance on the following:
How is character encoding implemented in the CK2dll save files? Is there a specific algorithm or method used?
Could you guide me to the part of the code where this encoding is implemented, or provide some detailed instructions on the encoding process?
I appreciate any professional knowledge you can share and the valuable time you spend in responding. Your assistance or guidance in this matter would be greatly appreciated.
Looking forward to your reply, and once again, thank you for your contribution to CK2dll.
The text was updated successfully, but these errors were encountered: