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

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World