aemkei / jsfuck

Write any JavaScript with 6 Characters: []()!+
jsfuck.com
Do What The F*ck You Want To Public License
8.12k stars 672 forks source link

It is recommended to change the encoding of Chinese characters to Unicode format, which can reduce the volume after encoding, and the encoding speed! #79

Open masx200 opened 5 years ago

masx200 commented 5 years ago

建议把对中文字符的编码改成Unicode形式,可以缩小编码后的体积,和编码速度! It is recommended to change the encoding of Chinese characters to Unicode format, which can reduce the volume after encoding, and the encoding speed! https://github.com/masx200/JSfuck-and-hieroglyphy-Decoder-and-ENCODER

masx200 commented 5 years ago

例如把"你的男的女的男的女的哦洗涤剂嗯嗯额"转换成"\u4f60\u7684\u7537\u7684\u5973\u7684\u7537\u7684\u5973\u7684\u54e6\u6d17\u6da4\u5242\u55ef\u55ef\u989d"

masx200 commented 5 years ago

我还 写了一个解码程序看我的github上有。 I also wrote a decoding program to see on my github. https://github.com/masx200/JSfuck-and-hieroglyphy-Decoder-and-ENCODER