Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | convert_string_to_utf8 returns struct of string and scrubbing status. | Louise Crow | 2015-06-22 | -8/+15 |
| | ||||
* | Round trip through utf-16 to clean utf-8 string | Louise Crow | 2015-06-22 | -3/+2 |
| | | | | | As noted in the ruby docs (http://ruby-doc.org/core-1.9.3/String.html#method-i-encode), any conversion from an encoding to the same encoding is a no-op, covert it first to utf-16. | |||
* | Merge branch 'force-filenames-to-utf8' into rails-3-develop | Louise Crow | 2015-05-28 | -1/+56 |
|\ | ||||
| * | Fix typo | Louise Crow | 2015-05-15 | -1/+1 |
| | | ||||
| * | Add method for forcing strings to valid utf-8 | Louise Crow | 2015-05-14 | -0/+55 |
| | | | | | | | | | | Try likely conversions but if that fails, just replace the characters that are invalid utf-8. | |||
* | | Add source file encoding for all ruby files. | Louise Crow | 2015-05-15 | -1/+1 |
|/ | | | | | | This is important under ruby 1.9 in order to determine the encoding that will be used for new strings created in the code in the file. | |||
* | needs _spec.rb to be run by `rake spec` | Rowan Crawford | 2014-03-01 | -0/+157 |