Punycode implementation according to RFC3492
Switch branches/tags
Nothing to show
Clone or download
FROGGS Merge pull request #5 from zoffixznet/patch-1
Use modern META filename
Latest commit 6476c14 Apr 25, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/IDNA Switch to using substr vs .?split() since the API for split() has cha… Nov 17, 2015
t initial (but working) commit Jan 4, 2015
.travis.yml Add Travis-CI configuration Nov 13, 2016
META6.json Use modern META filename Apr 25, 2017
README.md initial (but working) commit Jan 4, 2015

README.md

p6-IDNA-Punycode

USAGE

#!/usr/bin/env perl6

use v6;
use IDNA::Punycode;

say encode_punycode 'nice'  # nice
say encode_punycode 'schön' # xn--schn-7qa

say decode_punycode 'nice'         # nice
say decode_punycode 'xn--schn-7qa' # schön