rubyRSS ãæ¾ã£ã¦ãã¦ãã¼ã¹ãããã¨ããããä¸æ£ãªæååãå ¥ã£ã¦ã㦠REXML ã ParseException ãæãã¦ãã¾ã£ããæåã³ã¼ãã UTF-8 åæã ã£ãã®ã§ãUTF-8 ã¨ã㦠valid ãªæåã®ã¿ãå«ã¾ããããã«ç½®æãã¦å¯¾å¦ããã str = str.scan(/([\x00-\x7f]|[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3})/).join Ruby ãããªãã¦ãåããããªã³ã¼ãã§å¯¾å¦ã§ããããé¢é£ï¼UTF-8 ã®æ£è¦è¡¨ç¾ã¯ 404 Blog Not Found:UTF-8 vs. ISO-10646 ããæåããPHP ãªã $xmlStr = mb_convert_encoding($xmlStr, "UTF-8", "UTF-8"); ã§ãããã
{{#tags}}- {{label}}
{{/tags}}