mailcvt 0.2.38 → 0.2.39

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- enc = 'UTF-8' if enc == 'UTF8'
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)
@@ -1,3 +1,3 @@
1
1
  module Mailcvt
2
- VERSION = '0.2.38'
2
+ VERSION = '0.2.39'
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.38
4
+ version: 0.2.39
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: