nl_tokens: rfc3986 compatable decode of a string
pl_tokens: function decode ( <mask> ) { return string . replace ( / %[a-fA-F0-9]{2} / ig , function ( match ) { return String . fromCharCode ( parseInt ( match . replace ( '%' , '' ) , 16 ) ) ; } ) ; }