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:
parent
b8e63719f8
commit
c86b06e3fa
3 changed files with 29 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue