mikel/mail — Issue #338: 2.4.1 introduces bug in unquote_and_convert_to
Author: ledermann
Created: 2012-01-28 12:45:57+00:00
State: open

Please have a look at the following statement:

Mail::Encodings.unquote_and_convert_to('Der Kunde ist K=?utf-8?B?w7Y=?=nig', 'utf-8')

With 2.4.0, this gives the following (correct) result:

=> "Der Kunde ist König"

But with 2.4.1, the result is wrong:

=> "Der Kunde ist Kö"

It seems this bug is caused by 1a6fce4a363a0f83325f3526674fac6921d1d5db submitted by @janv

I'm using Ruby 1.8.7