2007-12-22 ã«ãã´ãª: Client Side ã¿ã°: JavaScript Tips Unicode JSON ãã£ãã¯Perlã«ã¯ã¾ãã¨ãè¨ã£ã¦ãããªããçµå±JavaScript⦠JavaScriptã®æååãã\uXXXXã®å½¢å¼ã®UnicodeEscapeSequenceã«ã¨ã¹ã±ã¼ãããé¢æ°ãæ¸ãã¾ããã JavaScriptã®æååãJSONã¨ãã§ããè¦ãããã \u672c\u65e5\u306f\u6674\u5929\u306a\u308a ã®å½¢å¼ã®æååã«å¤æããé¢æ°ã§ããã½ã¼ã¹ããµã³ãã«ã¯ç¶ãã§ã ã½ã¼ã¹ var unicodeEscape = function(str) { var code, pref = {1: '\\u000', 2: '\\u00', 3: '\\u0', 4: '\\u'}; return str.replace(/\W/g, fu
{{#tags}}- {{label}}
{{/tags}}