ãããã¸ãã§æ¾ã£ã¦ããHTMLãNokogiriã«æ¸¡ãã¨ï¼æååããããã¨ããã£ã¦ï¼å°ã£ã¦ãï¼ Nokogiriã«æåã³ã¼ãã渡ããã®ã§ï¼HTMLããæ£è¦è¡¨ç¾ã§charsetãåãåºãã¦ï¼ä¸çªå¤ãåºç¾ããcharsetããã®ãã¼ã¸ã®charsetã¨ãã¦æ¡ç¨ããã¨ï¼ãã¾ããã£ãï¼ ãã¥ã¼ãªã¹ãã£ãã¯ã«ãã£ã¦ãã ãã ãã©ï¼ã ããããã¾ãããï¼ ãããªæãï¼ charset = io.scan(/charset="?([^\s"]*)/i).flatten.inject(Hash.new{0}){|a, b| a[b]+=1 a }.to_a.sort_by{|a| a[1] }.reverse.first[0] before "ã\u0082«ã\u0083¼ã\u0083\u0089ã\u0083\u0095ã\u0082ãã\u0082ãã\u0083\u0088!! ã\u0083´ã\
{{#tags}}- {{label}}
{{/tags}}