Kouhei Sutou
null+****@clear*****
Wed Mar 1 22:53:55 JST 2017
Kouhei Sutou 2017-03-01 22:53:55 +0900 (Wed, 01 Mar 2017) New Revision: 31dfd6fe6540f3a8d6dd5be711080059778bb2b4 https://github.com/ranguba/chupa-text-decomposer-mail/commit/31dfd6fe6540f3a8d6dd5be711080059778bb2b4 Message: Set encoding iif charset is specified Modified files: lib/chupa-text/decomposers/mail.rb Modified: lib/chupa-text/decomposers/mail.rb (+1 -1) =================================================================== --- lib/chupa-text/decomposers/mail.rb 2017-02-19 00:47:44 +0900 (4c42424) +++ lib/chupa-text/decomposers/mail.rb 2017-03-01 22:53:55 +0900 (df5e681) @@ -43,7 +43,7 @@ module ChupaText end parts.each_with_index do |part, i| body = part.body.decoded - body.force_encoding(part.charset) + body.force_encoding(part.charset) if part.charset part_data = TextData.new(body, :source_data => data) part_data.uri = "#{data.uri}\##{i}" -------------- next part -------------- HTML����������������������������...Download