Home Forum
Welcome, Guest
Please Login or Register.    Lost Password?

Bug of String length
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Bug of String length
#199
Bug of String length 1 Year, 1 Month ago Karma: 0
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.
Zhang Shangyi
Junior Boarder
Posts: 26
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/08/01 14:19 By Zhang Shangyi.
The administrator has disabled public write access.
 
Go to topPage: 1