The stuff that u provided aren’t Unicode!
Java Unicode characters start with \u ,yours are HTML Unicode. You may supply your methods either Farsi characters or Unicode representation of them.
To convert Farsi to Unicode you may use native2ascii tool provided by JVM or use this
site http://www.snible.org/java2/uni2java.html
String greeting=”\u062F\u0631\u0648\u062F”; //Drood in Farsi