added force_encoding to prevent Encoding::UndefinedConversionError