On Mon, Dec 30, 2013 at 9:17 PM, Mattias Gaertner <[email protected]> wrote: > if FindInvalidUTF8Character(PChar(Pointer(s)),length(s))<0 then > // UTF-8
Uhhh! I will be totally screwed when I must do a unicode conversion myself. What was this "PChar(Pointer(s))" again? PChar is a pointer, why does it need a double cast? BTW, IsASCII function does not help here. It only checks the lower ascii area. Juha _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
