2

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.

4
  • 1
    You may want to look at this Commented Apr 21, 2012 at 13:57
  • Please do yourself a favour and spend one or two days to understand Unicode. joelonsoftware.com/articles/Unicode.html Commented Apr 21, 2012 at 14:18
  • Could you describe what you are trying to do that does not work? Commented Apr 21, 2012 at 14:23
  • Can't you keep the encoding as UTF-8 itself? I don't think the others will work if UTF-8 doesn't work. Somewhere in the flow it is getting converted to an incompatible encoding. Try to find that out. Commented Apr 21, 2012 at 14:25

1 Answer 1

3

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.