logstash/logstash — pull request #532 by goncha (2013-06-28 02:44:16+00:00)
Title: Fix invalid encoding conversion of event in INPUTS

String::force_encoding only changes strings' encoding property, but not do conversion of bytes in String.

Use String::encoding property to convert encoding of message without config option @charset.