finwo/punycode

There is no license information available for the latest version (0.0.3) of this package.

0.0.3 2017-03-02 17:06 UTC

This package is auto-updated.

Last update: 2024-10-24 04:40:37 UTC


README

Non-length-limited punycode en-/decoder

Usage

Encoding a string

$encodedString = Punycode::encode( $stringToEncode );

Decoding a string

$decodedString = Punycode::decode( $encodedString );

Checking if a string is valid punycode

$isValid = Punycode::isPunycode( $stringToTest );

Contributing

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.