• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about encoding a chinese character in url

 
BiBi Chan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Help ~
i was unable to encode a chinese char cause it reply me other words.



It output is different when encoded.
 
Paul Clapham
Sheriff
Posts: 21111
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Regardless of what characters are in your URL parameters, you should always URL-encode them. They might contain an equals sign or an ampersand, for example, which would lead to confusion. That's why URL-encoding exists. So like this:

 
BiBi Chan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which mean i have to encode all?
 
Darryl Burke
Bartender
Posts: 5131
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic