This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
#### �X�N���v�g�ì¬ï¿½ï¿½ #################### | |
## Honey Board v1.62 (2000/10/08) ## | |
## Copyright© Kent Web 2000 ## | |
## Mail: webmaster@kent-web.com ## | |
## Home: [url="http://www.kent-web.com/"]http://www.kent-web.com/[/url] ## | |
########################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// U2A('博时货'); | |
// return '\u234A\u3BaD\u42EA\u1BC3' | |
var U2A = function(s){ | |
var r = s.replace(/&#(\d+);/ig,'\\u{$1}'); | |
var A = r.match(/\d+/ig); | |
for(var i = 0;i<A.length;i++){ | |
r = r.replace('\\u{'+A[i].toString()+'}',String.fromCharCode(A[i])); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters