views:

96

answers:

1

hi, I am working in a application that takes unicode string as a input. I successfully obtained the sets of words as a list. Now i need to search the input string in the given sets of string that are in the list. I tried to compare the given string with each string in the list but only gets the unrecognised characters as an output. I think the problem is with the unicode precessing. Is there any suitable way to do this?

+1  A: 

Java works with unicode (String is UTF-16 internally, but handles all Unicode, see the API for more information). If you have problems with "unrecognised characters", you may have read the input with the wrong encoding or stored in a wrong way.

No more specific help possible without any source code given, sorry.

Arne Burmeister