module Rabbit::Converter
Public Instance Methods
keep_kcode(new_kcode) { || ... }
click to toggle source
# File lib/rabbit/utils.rb, line 457 def keep_kcode(new_kcode) yield end
to_eucjp(str)
click to toggle source
# File lib/rabbit/utils.rb, line 474 def to_eucjp(str) NKF.nkf("-e", str) end
to_eucjp_from_utf8(str)
click to toggle source
# File lib/rabbit/utils.rb, line 482 def to_eucjp_from_utf8(str) NKF.nkf("-eW", str) end
to_utf8(str)
click to toggle source
# File lib/rabbit/utils.rb, line 470 def to_utf8(str) NKF.nkf("-w", str) end
to_utf8_from_eucjp(str)
click to toggle source
# File lib/rabbit/utils.rb, line 478 def to_utf8_from_eucjp(str) NKF.nkf("-wE", str) end