The behavior of value_decode method is difference between ruby 1.8 and ruby 1.9. #337

Merged
merged 1 commit into from Nov 17, 2012

3 participants

@kennyj

value_decode method should return a UTF-8 encoded string in ruby 1.8.

BTW, If you merge this PR, It seems that we'll merge PR #277 too.

@kennyj kennyj The behavior of value_decode method is difference between ruby 1.8 an…
…d ruby 1.9. It should return a UTF-8 encoded string.
5dd93b4
@ippeif

This is what I want!
I believe it's necessary just for 1.8 environment.
(since Ruby18.b_value_decode throws away the original encoding embedded in RFC 2047 encoded-word)

@mikel mikel merged commit 5dd93b4 into mikel:master Nov 17, 2012
@mikel
Owner

Thank you very much, this is great work. Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment