At some stage you will need to use URL and UTF-8 encoding, you need to do so for friendly names, phone numbers, etc. Messages should be UTF-8 encoded as well, this is specified by “charset=UTF-8″ in the content-type header. URL encoding should come before UTF-8 encoding, and UTF-8 decoding should come before URL decoding.
Update: I have removed the code from this page and have since uploaded it here for URL and here for UTF-8.
0 Response to “Encoding”