add UTF-8 encoding to IOHelper