• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

URL+query string special character(other language) problem

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI


i send url with querystring in different language. for example http:\\aaaa.com\id=1?data=1&website=www.あなたの住所の場所は何ですか.com
i use javascript to fetch the URL. and display in web page..


Then special characters in different language changes to some other like %E3%81%82%E3%81%AA%E3%81%9F%E3%81%AE%E4%BD%8F%E6%89%80%E3%81%AE%E5%A0%B4%E6%89%80%E3%81%AF%E4%BD%95%E3%81%A7%E3%81%99%E3

even if unescape get same problem

i should get as same www.あなたの住所の場所は何ですか.com.

what to do?
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You try encoding it first with encodeURIComponent?

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic