I am using java servlets. In my database some strings has characters Å, Ä and Ö. When i check those strings contains these special characters then its always false. How can i check if a string contains these special characters. I am using Eclipse. Thanks in advance.
Share
These are extended ASCII chanracters.
You can create String “char1” like above and then Compare with Target String.
Code for Getting lookup :
See this table, Charset supported by Java SE 6 : Source : http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html