RubyGems.org

For ruby 1.9 strings, replace bad bytes in given encoding with replacement strings, _or_ fail quickly on invalid encodings -- _without_ a transcode to a different encoding.

installgem install ensure_valid_encoding
Authors

Jonathan Rochkind

40,513 total downloads 36,308 for this version
Owners

6a13e655e637138f8d571cec3f9cea76

Gemfile
gem 'ensure_valid_encoding', '~> 0.5.3'
Versions
  1. 0.5.3 December 6, 2012 (8.5 KB)
  2. 0.5.2 July 17, 2012 (8.5 KB)
  3. 0.5.1 July 13, 2012 (8.5 KB)
  4. 0.5.0 July 10, 2012 (8.5 KB)