Affichage caractères accentués
Bonjour,
Voici mon problème, je cherche à afficher une string encoder en UTF-8 dans un snippet() qui contient des accents.
Code:
1 2 3 4 5 6
|
myMarkerPosition = map.addMarker(new MarkerOptions()
.position(...)
.title(...)
.snippet(...)
.icon(BitmapDescriptorFactory.fromResource(R.drawable.icon))); |
J'ai regardé la FAQ java pour savoir comment convertir ma string UTF-8 en ISO-8859-1. J'ai donc fait :
Code:
1 2
|
String stringISO = new String ( stringUTF8.getBytes(), "ISO-8859-1" ); |
A l'affichage je n'ai pas les accents affiché correctement.
pour un <è> j'ai droit à <ii?(àl'envers)1/2>
Merci d'avance pour vos réponses.