Ad

When I Am Reading A API In Java I Get ÃŽ In Place Of Î In A String. What Should I Do?

- 1 answer

The string Île-de-France got converted into ÃŽle-de-France.

How should I get the original one in java?

Ad

Answer

This is an encoding issue. It may be that you encode the data incorrectly for transmission, storage or retrieval.

The best policy is to stick to a consistent Unicode encoding, such as UTF-8 for serialization, deserialization and storage of your data.

Search the w3.org website for I18n and Charmod. For more information. (I'm answering from my mobile while on holiday or I would give you links)

Ad
source: stackoverflow.com
Ad