ensure no wide character in log file