Archive

Posts Tagged ‘utf-8’

JavaScript Encode-Decode URL

Sep 6th, 2009

Why url encoding needed?
All NON-ASCII characters need to be converted to %xx value for a url.
Spaces and special characters can break the url.
Something like “encoding_test.php?q=hello world” need to converted into “firstpage.php?q=hello%20world”.
Most modern browser do this job most of the time. So, we do not face much problem. But this can be a necessity
when some other [...]

Play with Unicode characters

Nov 24th, 2008

Here are few links to convert Unicode characters to code point/Uri percent encoding/decimal NCR etc.
905 represent hex अ in Hindi:
http://people.w3.org/rishida/scripts/uniview/uniview.php?codepoints=905
Get full details of each character at this FileFormat.info site. This link will shows Unicode character “अ” detail.
Convert any char to code point/numeric value:
Need to use any char which is not a supported language in your [...]