Patch #41954 » 0012-Convert-wiki_content_versions-data-binary-to-utf-8.patch
| 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
|
||
- « Previous
- 1
- …
- 12
- 13
- 14
- Next »