Permalink
Browse files

Update imaprowl.rb

Small typo in debug output.
  • Loading branch information...
blinkin committed Aug 24, 2012
1 parent ae45b1d commit 51a280778910876f8541f2447a08912a7ec25c8d
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 51a2807

Please sign in to comment.