Added manual load of encode.rb.

This commit is contained in:
Martin Edenhofer 2012-12-05 02:38:30 +01:00
parent db61002b0d
commit a09111eacf
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
# encoding: utf-8 # encoding: utf-8
require 'mail' require 'mail'
require 'encode'
class Channel::EmailParser class Channel::EmailParser

View file

@ -31,7 +31,7 @@ module Encode
# puts '-------' + charset # puts '-------' + charset
# puts string # puts string
# convert string # convert string
string.encode!( 'UTF-8', charset.upcase ) string.encode!( 'UTF-8', charset )
# Iconv.conv( 'UTF8', charset, string ) # Iconv.conv( 'UTF8', charset, string )
end end
end end