Wrong Charset in Shared Preferences

519 views Asked by At

I have a problem with Shared Preferences. I want to store some Stings and they could contain special characters like "äöü". Shared Preferences should be able to show and save those characters since its in UTF - 8 right? Somehow it doesn't, it shows only this questionmark Symbol. Is there an option I missed to set the right charset?

1

There are 1 answers

2
Gaurav On

i think SharedPreferences stores it right but problem is in where you are displaying this characters.

You need to take care while displaying these chars