class Requests_IDNAEncoder {}

In this article

IDNA URL encoder


Note: Not fully compliant, as nameprep does nothing yet.

See also


Requests_IDNAEncoder::adaptAdapt the bias
Requests_IDNAEncoder::digit_to_charConvert a digit to its respective character
Requests_IDNAEncoder::encodeEncode a hostname using Punycode
Requests_IDNAEncoder::is_asciiCheck whether a given string contains only ASCII characters
Requests_IDNAEncoder::nameprepPrepare a string for use as an IDNA name
Requests_IDNAEncoder::punycode_encodeRFC3492-compliant encoder
Requests_IDNAEncoder::to_asciiConvert a UTF-8 string to an ASCII string using Punycode
Requests_IDNAEncoder::utf8_to_codepointsConvert a UTF-8 string to a UCS-4 codepoint array


User Contributed Notes

You must log in before being able to contribute a note or feedback.