LTnewbie
LTnewbie

Reputation: 143

java characters encoding

I am searching for Lithuanian characters encoding. I found these: IBM775, IBM921. But in Java name they are like Cp775 and Cp921. But when I use it in app it doesn't work. Are they correct ones?

EDITED Mysql database has UTF encoding. I tried it too but it doesn't work. I am getting null in the places where words with lithuanian characters should be.

Upvotes: 2

Views: 544

Answers (1)

dash1e
dash1e

Reputation: 7807

Use the encoding ISO-8859-4 or Cp1112.

Here the official java page of supported encondings.

And here the wikipedia page where you can get a complete list with description.

Upvotes: 3

Related Questions