[fpc-devel] Unicode and UTF8String

Michael Schnell mschnell at lumino.de
Mon Dec 1 16:59:58 CET 2008


> I don't see you complaining about the fact that
> char is not 8 bit anymore, and that that abandons that part of the pascal
> syntax.
>   
When doing the most common string stuff like
case s[i] of
 '1', 'a', 'รค':
...

This does not really hurt.

even
n := ord(s[i]) - ord('0'); works with 16 bit/char strings.

-Michael



More information about the fpc-devel mailing list