Home Forum
Welcome, Guest
Username Password: Remember me

Bug of String length
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Bug of String length

Bug of String length 2 years, 6 months ago #199

Hello, thank you for providing this good software, but have the following questions to feedback about this:

Double-byte character string length calculation error. Double-byte characters are full-width, so its length should be half-width characters doubled. For example: "my file", its length is 7, translated to Chinese as "ๆˆ‘็š„ๆ–‡ไปถ", its length is 8 instead of 4, cannot be calculated as the number of characters.

When write to the Delphi hardcoded string, could automatically modify its hexadecimal length value, such as: "my files" the string length is 8, it is represented as FFFFFF08 (located in front of the string) in Delphi file. If you modify the string as "files", its length values should be modified to FFFFFF05.

On the translation of more than the original string length did not know any good? generally need to move the translation, and modify its offset.
Last Edit: 2 years, 6 months ago by Zhang Shangyi.
  • Page:
  • 1
Time to create page: 0.22 seconds