puppetlabs/puppet — pull request #1151 by daniel-pittman (2012-09-14 23:27:15+00:00)
Title: (#15190) Avoid deprecated iconv on Ruby 1.9

This rewrites the encoding conversion in PSON to use `String#encode` rather
than iconv when transforming strings under Ruby 1.9. That avoids a
deprecation warning.

Signed-off-by: Daniel Pittman