fix unicode incompatibilities