vmail 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -530,10 +530,3 @@ A big shout out goes to my funny, smart, and supportive fellow hacker alums of
530
530
 
531
531
  [twitter]:http://twitter.com/#!/danchoi
532
532
 
533
- ## Help wanted: screencaster
534
-
535
- The vmail project needs someone to make a good screencast introduction to
536
- vmail. (I'm very bad at making screencasts.) Please let me know once you've
537
- posted it somewhere so I can link to it. Feel free to put a plug in the
538
- screencast for your own company or blog.
539
-
@@ -86,7 +86,7 @@ module Vmail
86
86
  def format_text_body(part)
87
87
  text = part.body.decoded.gsub("\r", '')
88
88
  charset = (part.content_type_parameters && part.content_type_parameters['charset']) || encoding
89
- if charset && charset != 'UTF-8'
89
+ if (charset && charset != 'UTF-8') || (text.encoding != 'UTF-8')
90
90
  Iconv.conv('UTF-8//TRANSLIT//IGNORE', charset, text)
91
91
  else
92
92
  text
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "1.5.2"
2
+ VERSION = "1.5.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 5
8
- - 2
9
- version: 1.5.2
8
+ - 3
9
+ version: 1.5.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-14 00:00:00 -05:00
17
+ date: 2011-02-15 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency