Wallogit.com
2017 © Pedro Peláez
Non-length-limited punycode en-/decoder, (*1)
Encoding a string, (*2)
$encodedString = Punycode::encode( $stringToEncode );
Decoding a string, (*3)
$decodedString = Punycode::decode( $encodedString );
Checking if a string is valid punycode, (*4)
$isValid = Punycode::isPunycode( $stringToTest );
After checking the Github issues and confirming that your request isn't already being worked on, feel free to spawn a new fork and send in a pull request., (*5)