mailcvt 0.2.37 → 0.2.38

Sign up to get free protection for your applications and to get access to all the features.
@@ -179,6 +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
+ enc = 'UTF-8' if enc == 'UTF8'
182
183
  wd = parts[2].unpack({ "B"=>"m*", "Q"=>"M*" }[enc]).first
183
184
  begin
184
185
  return wd.encode(out_charset, charset, :undef=>:replace, :invalid=>:replace)
@@ -1,3 +1,3 @@
1
1
  module Mailcvt
2
- VERSION = '0.2.37'
2
+ VERSION = '0.2.38'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailcvt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.37
4
+ version: 0.2.38
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: