There is no way to determine whether a string is in ANSI format or not? Antônio
2010/2/27 JoshyFun <[email protected]>: > Hello Lazarus-List, > > Saturday, February 27, 2010, 5:43:24 PM, you wrote: > > A> Mainly from ANSI, but whatever. > > You can not determine if a string is an UTF8 one, only if it is an > UTF8 well formed sequence. In other words, you can not detect if a > string IS an UTF8, only if it does not have UTF8 errors. > > You can use the LCLProc FindInvalidUFT8Character function. > > -- > Best regards, > JoshyFun > > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
