Force utf-8 encoding when processing XML
This commit is contained in:
parent
50d3083cbd
commit
7ce4670164
4 changed files with 10 additions and 3 deletions
|
@ -4,6 +4,7 @@ class ProcessFeedService < BaseService
|
|||
|
||||
def call(body, account)
|
||||
xml = Nokogiri::XML(body)
|
||||
xml.encoding = 'utf-8'
|
||||
|
||||
update_author(xml, account)
|
||||
process_entries(xml, account)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue