def_to_iso_8859_1_from_utf_8() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rss/converter.rb, line 151
    def def_to_iso_8859_1_from_utf_8
      def_convert do |value|
                array_utf8 = #{value}.unpack('U*')        array_enc = []        array_utf8.each do |num|          if num <= 0xFF            array_enc << num          else            array_enc.concat "&\#\#{num};".unpack('C*')          end        end        array_enc.pack('C*')
      end
    end
Register or log in to add new notes.