mapping special chars in xor