Patch #41954 » 0012-Convert-wiki_content_versions-data-binary-to-utf-8.patch
| lib/tasks/extract_fixtures.rake | ||
|---|---|---|
| 80 | 80 | else | 
| 81 | 81 | record[col.name] = record[col.name].getutc | 
| 82 | 82 | end | 
| 83 | elsif col.type == :binary | |
| 84 |               utf8text = record[col.name].dup.force_encoding('UTF-8') | |
| 85 | if utf8text.valid_encoding? | |
| 86 | record[col.name] = utf8text | |
| 87 | end | |
| 83 | 88 | end | 
| 84 | 89 | end | 
| 85 | 90 | end | 
- « Previous
- 1
- …
- 12
- 13
- 14
- Next »