Force utf-8 encoding when processing XML
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user