Added manual load of encode.rb.
This commit is contained in:
parent
db61002b0d
commit
a09111eacf
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'mail'
|
||||
require 'encode'
|
||||
|
||||
class Channel::EmailParser
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ module Encode
|
|||
# puts '-------' + charset
|
||||
# puts string
|
||||
# convert string
|
||||
string.encode!( 'UTF-8', charset.upcase )
|
||||
string.encode!( 'UTF-8', charset )
|
||||
# Iconv.conv( 'UTF8', charset, string )
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue