Method: E4U::Encode::Google::Unicode.to_kddi_unicode
- Defined in:
- lib/e4u/encode/google/unicode.rb
.to_kddi_unicode(str) ⇒ Object
32 33 34 35 36 37 |
# File 'lib/e4u/encode/google/unicode.rb', line 32 def self.to_kddi_unicode str puts "google_unicode_to_kddi_unicode" if $DEBUG str.gsub(KDDI_UNICODE_REGEXP) do |matched| KDDI_UNICODE[$1.upcase] end end |