around_filter EmojiFilter.newã¨ããã°ï¼¯ï¼«ãè¶ ç°¡åã e4u-encode+=1 http://d.hatena.ne.jp/fistfvck/20100112/1263273690 require "e4u/encode" class EmojiFilter def before(controller) case controller.request.mobile_carrier when :docomo deep_apply(controller.params) do |s| E4U.encode(s, :docomo =>:google, :sjis=>:utf8) end when :kddi deep_apply(controller.params) do |s| E4U.encode(s, :kddi =>:google, :sjis=>:utf8)
{{#tags}}- {{label}}
{{/tags}}