mailcvt 0.2.38 → 0.2.39
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/encoded_word.rb +1 -1
- data/lib/mailcvt/version.rb +1 -1
- metadata +1 -1
data/lib/encoded_word.rb
CHANGED
@@ -179,7 +179,7 @@ class EncodedWord
|
|
179
179
|
return input unless parts and parts.length == 3
|
180
180
|
charset = parts[0]
|
181
181
|
enc = parts[1].upcase
|
182
|
-
|
182
|
+
charset = 'utf-8' if charset.downcase == 'utf8'
|
183
183
|
wd = parts[2].unpack({ "B"=>"m*", "Q"=>"M*" }[enc]).first
|
184
184
|
begin
|
185
185
|
return wd.encode(out_charset, charset, :undef=>:replace, :invalid=>:replace)
|
data/lib/mailcvt/version.rb
CHANGED