Encode UTF-8 before printing