5月 302013
 

缘起

JS的escape到底是怎么实现的?如:

 

哪些字符不做编码?哪些字符做 ‘%’ 编码?哪些字符做 ‘%u’ 编码?

 

参考资料:

Ecma: http://www.ecma-international.org/publications/standards/Ecma-262.htm

 

Google V8项目主页: https://code.google.com/p/v8/

Google V8源码下载: https://code.google.com/p/v8/wiki/Source  参看:uri.h中 URIEscape::Escape 的实现

Google V8开发者参考: https://developers.google.com/v8/build

 

关于JS做压缩:

http://www.poluoluo.com/jzxy/201004/83108.html

lz77

 

JS二进制操作: http://blog.chinaunix.net/uid-52437-id-3325514.html

 Posted by at 下午 4:12

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据