i m using postgre database it has encoding UTF-8 in that unicode for marathi word pimpri is like this \u092A\u093F\u0902\u092A\u0930\u0940 \u0935\u093E\u0918\u0947\u0930\u0947
and when at client side i wrote a code String tempString=Strings.toEscapedUnicode(strQueryString[1]); it generate unicode like this u00E0\u00A4\u00AA\u00E0\u00A4\u00BF\u00E0\u00A4\u00AA\u00E0\u00A4\u0082\u00E0\u00A4\u00B0\u00E0\u00A5\u0080
so i have problem for matching it.
i have problem that how to recognize in which formate is? u00E0\u00A4\u00AA\u00E0\u00A4\u00BF\u00E0\u00A4\u00AA\u00E0\u00A4\u0082\u00E0\u00A4\u00B0\u00E0\u00A5\u0080 is this in utf8 or utf16 or utf32
and also how to convert utf8 to utf16 using java is there any method for that???