Permalink
Browse files

Merge pull request #3 from blinkin/patch-1

Update imaprowl.rb
  • Loading branch information...
takuo committed Aug 27, 2012
2 parents ae45b1d + 51a2807 commit 758a0f4f3dce60e6c90de709fb1aada813537cd1
Showing with 1 addition and 1 deletion.
  1. +1 −1 imaprowl.rb
View
@@ -153,7 +153,7 @@ def mime_decode( input, out_charset = 'utf-8' )
charset = $1
enc = $2.upcase
word = $3
- debug "Decode MIME hedaer: Charset: #{charset}, Encode: #{enc}, Word: #{word}"
+ debug "Decode MIME header: Charset: #{charset}, Encode: #{enc}, Word: #{word}"
word = word.unpack( { "B"=>"m*", "Q"=>"M*" }[enc] ).first
# Iconv.conv( out_charset + "//IGNORE", charset, word )
word.encode( out_charset, charset, :undef=>:replace, :invalid=>:replace )

0 comments on commit 758a0f4

Please sign in to comment.