ignoring non-ascii chars