why you don't use unicode instead?you can convert your string into unicodefor example:String name = "\u0652\u0655" ;