JoseRoca / WinFBX

Windows Framework for FreeBASIC
47 stars 16 forks source link

Fixed:The string length error occurs when the multi byte character is… #1

Closed skyfish4tb closed 6 years ago

skyfish4tb commented 6 years ago

Fixed:The string length error occurs when the multi byte character is converted to wide byte characters.

skyfish4tb commented 6 years ago

Fixed:The string length error occurs when the multi byte character is converted to wide byte characters.

JoseRoca commented 6 years ago

Sorry, I don't fully understand. dwLen = MultiByteToWideChar(nCodePage,MB_PRECOMPOSED, STRPTR(ansiStr), .LEN(ansiStr),NULL, 0) should return the same value that dwLen = .LEN(ansiStr).

Do you have an example in which it fails?