[fpc-devel] assign constant text to widestring

JoshyFun joshyfun at gmail.com
Wed Oct 22 16:35:58 CEST 2008


Hello Michael,

Wednesday, October 22, 2008, 3:36:22 PM, you wrote:

[...]
MS> When using UTF8String I found that if s is an UTF8String containing
MS> "รถ2", length(s) is 3 and s[3] is "2". Obviously, UTF8Strings content is
[...]

If anybody say another thing "UTF8String" is just an alias for
"ansistring" so they are exactly the same thing, but with different
name which in my case I'm using to be clear in code where things are
utf-8 encoded.

-- 
Best regards,
 JoshyFun




More information about the fpc-devel mailing list