I am using below xmlhttprequest to sent data to server.
where mar="मे" which is marathi language.
and code written in
servlet
It prints मà¥
By using below
System.out.println("String"+new
String(marathi.getBytes("windows-1251"), "UTF-8"));
System.out.println("String"+new String(marathi.getBytes("ISO-8859-15"), "UTF-8"));
gets
String?��???
String�?�े
Please help me to sort out this issue. I already set UTF-8 format in eclipse.
Thanks in Advance