Hindi characters in url parameter in java -


i working on language identifier need pass text server , identify language i'm trying pass hindi characters through url server.how can pass hindi characters url parameter in java.please me this.

you need encode url using urlencoder. use urlencoder.encode method, this:

string yourencodedurl = urlencoder.encode(yoururlwithhindicharacters, "utf-8"); 

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -