-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mail::AddressListsParser can not parse #778
Comments
Also appears not to be able to parse Japanese characters. |
cc @bpot |
I believe this is expected behavior -- the parser expects all headers to only contain ASCII characters. It assumes non-ascii characters will be encoded as specified in rfc2047. For example: https://github.com/mikel/mail/blob/master/spec/mail/encodings_spec.rb#L93 However, it looks like there are now some RFCs around the use of non-ascii characters in email headers that are finding being adopted: http://en.wikipedia.org/wiki/International_email#Overview_and_Framework_for_Internationalized_Email I can take a look at what changes would need to be made to the parser to support 'international emails'. @ckarbass @bonsaiben Could you provide examples of failing emails and the version of the mail gem you are using? Thanks! |
Fixed by #1103 |
Looks like the parser isn't handling ñ or non english characters on Ruby 2.0.0 Rails 4
The text was updated successfully, but these errors were encountered: