Fix issue of PSO2 to IRC function output a BOM in the string