Remove non-ascii character in logging