GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing iojs.org — punycode io.js v3.3.1 Manual & Documentation
Table of Contentspunycode#Stability: 2 - Stable Punycode.js is bundled with io.js v1.0.0+ and
Node.js v0.6.2+. Use punycode.decode(string)#Converts a Punycode string of ASCII-only symbols to a string of Unicode symbols.
punycode.encode(string)#Converts a string of Unicode symbols to a Punycode string of ASCII-only symbols.
punycode.toUnicode(domain)#Converts a Punycode string representing a domain name to Unicode. Only the Punycoded parts of the domain name will be converted, i.e. it doesn't matter if you call it on a string that has already been converted to Unicode.
punycode.toASCII(domain)#Converts a Unicode string representing a domain name to Punycode. Only the non-ASCII parts of the domain name will be converted, i.e. it doesn't matter if you call it with a domain that's already in ASCII.
punycode.ucs2#punycode.ucs2.decode(string)#Creates an array containing the numeric code point values of each Unicode symbol in the string. While JavaScript uses UCS-2 internally, this function will convert a pair of surrogate halves (each of which UCS-2 exposes as separate characters) into a single code point, matching UTF-16.
punycode.ucs2.encode(codePoints)#Creates a string based on an array of numeric code point values.
punycode.version#A string representing the current Punycode.js version number. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |