Project

General

Profile

Patch #41954 » 0012-Convert-wiki_content_versions-data-binary-to-utf-8.patch

Ko Nagase, 2025-03-30 12:05

View differences:

lib/tasks/extract_fixtures.rake
else
record[col.name] = record[col.name].getutc
end
elsif col.type == :binary
utf8text = record[col.name].dup.force_encoding('UTF-8')
if utf8text.valid_encoding?
record[col.name] = utf8text
end
end
end
end
(14-14/14)