Use xp::ENCODING instead of iconv's input_encoding and output_encoding
Makes this independent of PHP configuration / defaults