Detect unicode

2005-04-28 Thread Avik Sengupta
We currently have two methods to detect unicode characters. Which is better? Primarily on performance. I want to consolidated. There might be other such code scattered! public static boolean hasMultibyte(String value){ if( value == null )return false; for(int i

Re: Detect unicode

2005-04-28 Thread andy
I'm betting on the latter. I think the former is legacy code from when we supported 1.22 or something. Avik Sengupta wrote: We currently have two methods to detect unicode characters. Which is better? Primarily on performance. I want to consolidated. There might be other such code scattered