Method: Jpmobile::Util.jis_win
- Defined in:
- lib/jpmobile/util.rb
.jis_win(str) ⇒ Object
72 73 74 75 76 77 |
# File 'lib/jpmobile/util.rb', line 72 def jis_win(str) unless jis?(str) str = str.dup.force_encoding(JIS_WIN) end str end |
72 73 74 75 76 77 |
# File 'lib/jpmobile/util.rb', line 72 def jis_win(str) unless jis?(str) str = str.dup.force_encoding(JIS_WIN) end str end |