Wednesday, May 06, 2009

esc




URI Escape

You may have seen a string like "%E3%82%82%E3%81%97%E3%82%82%E3%81%97.png". Characters for URI (URL) are limited to subset of ascii characters, therefore other characters (ex. 2 byte characters) are expressed using "% + hex?number" form. The expression "% + hex number" is called as "percent escape". "URI Escape.osax" is a scripting addition to encode strings into pecent escaped form and decode it.