PunycodeSwift
PunycodeSwift copied to clipboard
punycodeEncoded and idnaEncoded inconsistency
Hi! Thanks a lot for your hard work on this project. I've discovered two interesting behaviours which you probably can be interested in:
.punycodeEncodedmistransformsgoo.glintogoo.gl-, while.idnaEncodedgives correctgoo.gl.idnaEncodedmistransformsᎻTТРՏ∶⫻⫻նᏞ․fRintoxn--p1ad93g9a045z2uc92va61370ahkav069eeeapawhile.punycodeEncodedgivess0ad81gqel44eegaq82fczdkzya41780doa7v(later is correct according to https://unicode.org/cldr/utility/idna.jsp)
I noticed the same when I tried to punycode example.com and received similar result