Realm is generating � while retrieving data which is encoded in utf-8


i am using realm to store and retrieve utf-8 for nepali(Devnagari) characters but when retrieving � is also generating which is not a nepali(Devnagari) character and not stored. How to solve this issue ? Along with realm i have used gson and retrofit.