Preserve character encoding for strings.
Raise exception if output_encoding is specified in ruby < 1.9
Add tests and fix exception
Merge pull request #4 from eslavich/preserve-string-encoding

Preserve character encoding for strings.