PHP Class Punycode
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Punycode implementation as described in RFC 3492
Afficher le fichier
Open project: zblogcn/zblogphp
Class Usage Examples
Protected Properties
Méthodes publiques
Méthodes protégées
Method Details
__construct()
public méthode
adapt()
protected méthode
calculateThreshold()
protected méthode
Calculate the bias threshold to fall between TMIN and TMAX
charToCodePoint()
protected méthode
Convert a single or multi-byte character to its code point
codePointToChar()
protected méthode
Convert a code point to its single or multi-byte character
Decode a Punycode domain name to its Unicode counterpart
decodePart()
protected méthode
Decode a part of domain name, such as tld
Encode a domain to its Punycode version
encodePart()
protected méthode
Encode a part of a domain name, such as tld, to its Punycode version
listCodePoints()
protected méthode
List code points for a given input
Property Details
$decodeTable protected_oe static_oe property
protected static $decodeTable |
$encodeTable protected_oe static_oe property
protected static $encodeTable |
$encoding protected_oe property