Search code examples
javaencodingdouble-byte

How to identified given string is double byte characterset using java?


I want to Identify given string is double byte character set or not, using java?

Thanks


Solution

  • A String does not have a character set property, in fact, it is always UTF-16 (16 bit used for each char).