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.