On 24/12/12 11:22, Martin wrote: > > half-width spaces etc..., control chars (RTL/LTR...), currently unused > codepoints (that could become anything in future...)
As Marco said, the list will be smaller than the "allowed list". Also the Unicode specification defines blocks or categories for code points, so that could be used too. eg: Take a look at TCharacter.IsNumeric(..) implementation. It doesn't do actual code point comparisons, it simply checks the Unicode category of the passed in code point. Regards, - Graeme - _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel