alert("L威廉O加油V君E".replace(/([^\u0000-\u00FF])/g, function ($) { return escape($); }));
js 替换 中文 汉字 字符串
原文:https://www.cnblogs.com/shaoing/p/9564563.html