You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which seems to be syntactically incorrect, since ü should have been rfc2047 encoded as well, but a decoder library should be able to deal with incorrect syntax, since this happens quite often, and not run into an encoding error.
regards
Hadmut
The text was updated successfully, but these errors were encountered:
Hi,
I'm using the rfc2047 gem to parse mail headers read from an IMAP server. In rare cases the gem aborts with
Error incompatible character encodings: UTF-8 and ASCII-8BIT
Encoding::CompatibilityError
/var/lib/gems/2.1.0/gems/rfc2047-0.3/lib/rfc2047.rb:25:in
gsub' /var/lib/gems/2.1.0/gems/rfc2047-0.3/lib/rfc2047.rb:25:in
decode'A parameter given to the rfc2047 decoder in this case was
"=?UTF-8?B?VW50ZXJzdMO8dHp1bmc=?=" <unterstü[email protected]>
which seems to be syntactically incorrect, since ü should have been rfc2047 encoded as well, but a decoder library should be able to deal with incorrect syntax, since this happens quite often, and not run into an encoding error.
regards
Hadmut
The text was updated successfully, but these errors were encountered: