lib/tdiary/lang/ja.rb in tdiary-5.1.7 vs lib/tdiary/lang/ja.rb in tdiary-5.2.0
- old
+ new
@@ -15,21 +15,9 @@
def encoding_old
'EUC-JP'
end
-def mobile_encoding
- 'Shift_JIS'
-end
-
-def to_mobile( str )
- str.encode(mobile_encoding, {invalid: :replace, undef: :replace})
-end
-
-def to_mail( str )
- str.encode('iso-2022-jp', {invalid: :replace, undef: :replace})
-end
-
def migrate_to_utf8( str )
to_native( str, encoding_old )
end
def shorten( str, len = 120 )