-
Notifications
You must be signed in to change notification settings - Fork 583
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
Encoding::UndefinedConversionError - "\xD7" from ASCII-8BIT to UTF-8: #339
Comments
Yup. I am having the same issue. |
Similar issue here, running
|
Same here on ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]
|
I think it is bug of mail sender, not mailcatcher. |
I use UTF-8 in from, like the following code in default from: 'leão - my latin america brand <[email protected]>' I did the following commit only to show a possible fix kdiogenes@b2520ff What do you think about it @sj26? If you think it's acceptable I can prepare a PR. Best regards! |
I think receiving mails with 8bit is root of problems. |
@znz my email body is encoded with 7bit (I don't do anything special to have it, ActionMailer already send it ok), but the from header field keeps giving error, this is my from header:
The body have the proper charset and encoding:
And in the body I have this string If I remove the accent from the So, my question is basically how I can use accents in from field? |
I'm not a ruby dev, but I believe this is related. Using mailcatcher in a vagrant box that serves as a magento development server. If email contains some non-ascii characters (german umlauts, euro symbol), it doesn't get sent. Apache error log:
So match function's argument is US-ASCII encoded, which is weird. Ruby / encoding related stuff:
But if I print out |
MailCatcher does not advertise itself as 8-bit capable, and so mail clients should be sending mail in ascii compatible encodings. A feature request for 8 bit transfer encodings is now here, please follow if you're interested: #445 |
The text was updated successfully, but these errors were encountered: