Merge pull request #10762 from mkllnk/report-encoding

Preserve encoding of stored reports
This commit is contained in:
Konrad
2023-05-03 17:08:44 +02:00
committed by GitHub
3 changed files with 41 additions and 1 deletions

View File

@@ -31,6 +31,6 @@ class ReportBlob < ActiveStorage::Blob
end
def result
@result ||= download
@result ||= download.force_encoding(Encoding::UTF_8)
end
end