mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-17 00:07:24 +00:00
Merge pull request #10762 from mkllnk/report-encoding
Preserve encoding of stored reports
This commit is contained in:
@@ -31,6 +31,6 @@ class ReportBlob < ActiveStorage::Blob
|
||||
end
|
||||
|
||||
def result
|
||||
@result ||= download
|
||||
@result ||= download.force_encoding(Encoding::UTF_8)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user