documentcloud/docsplit — pull request #82 by leknarf (2013-05-29 17:22:55+00:00)
Title: Clean text without Iconv to support Ruby 2.0

The clean method in text_cleaner.rb requires Iconv, which was deprecated in Ruby 1.9 and removed in 2.0.

This patch follows the pattern used in info_extractor.rb, which is to use String#encode if it is defined.