2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

Fix for non-english email polling.

This commit is contained in:
Robin Ward 2013-11-04 15:30:24 -05:00
parent b8e63719f8
commit c86b06e3fa
3 changed files with 29 additions and 1 deletions

View file

@ -26,7 +26,7 @@ module Email
return Email::Receiver.results[:unprocessable] if @body.blank?
# Then run the github EmailReplyParser on it in case we didn't catch it
@body = EmailReplyParser.read(@body).visible_text
@body = EmailReplyParser.read(@body).visible_text.force_encoding('UTF-8')
discourse_email_parser