I found a strange behavior with the value of an input element (e.target.value
) when it contains "nl@". All german umlauts after that will be transformed to something strange.
Examples:
nl@ü => nl@xn--tda
aanlaaa@u => aanlaaa@xn--tda
ünl@ü => ünl@ü
nl@dksdü => nl@xn--dksd-3ra
I prepared a litle codepen where you can tests it yourself and also explained the quirks a little bit more.
Does someone have an idea why this behavior occurs?