(Note that this doesn't account for characters that are not in the BMP, i.e., codepoints beyond 65535).
Thanks a lot for replying.
I have the following characters to support
Basic Latin (0000-007F)
Latin-1 Supplement (0080-00FF)
Latin Extended-A & B (0100-024F)
General Punctuation (2000-206F)
Currency Symbols (20A0-20CF)
Mathematical Operators (2200-22FF)
Combining Diacritical Marks (0300-036F)
Does it mean that the code which you have posted will not work for all these character ranges?
int codepoint = val.codePointAt(i)
Also, the ranges which I have are in the form of hex codes (as posted above). How can I find the corresponding codepoint, so that I know the ranges in codepoints (to make the above code work).
Thanks
[ June 26, 2007: Message edited by: Thomas Greene ]