[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.

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


More information about the fpc-devel mailing list