Deal with python compile errors that contain non-ascii characters.