From: SHIBATA H. <shi...@gm...> - 2011-09-05 12:48:05
|
しばたです。 > いずれにしても require 'nkf' は本当に必要な部分の直前に移動させて無用な > ロードを避けたいところです(iconvはすでにそうなっています)。でも、 > tdiary/lang/ja.rb以外にもrequire 'nkf'しているファイルがあるので、文字 > コード変換まわりは全部一箇所にまとめたほうがよさそうです。 > > $ grep -rl "require.*nkf" . > ./misc/migrate.rb > ./misc/plugin/a.rb > ./misc/plugin/kw.rb > ./misc/plugin/ja/disp_referrer.rb > ./misc/plugin/weather.rb > ./plugin/ja/00default.rb > ./tdiary/lang/ja.rb だいぶいけてないので to_native を使うように統一しておこうと思います。 -- SHIBATA Hiroshi shi...@gm... http://www.hsbt.org/ |