idna_flags() = [{uts46, boolean()} | {std3_rules, boolean()} | {transitional, boolean()}]
alabel/1 | |
check_context/1 | |
check_hyphen/1 | |
check_initial_combiner/1 | |
check_label/1 | |
check_label/4 | validate a label of a domain. |
check_label_length/1 | |
check_nfc/1 | |
decode/1 | decode an International Domain Name encoded with the IDNA protocol. |
decode/2 | decode an International Domain Name encoded with the IDNA protocol. |
encode/1 | encode Internationalized Domain Names using IDNA protocol. |
encode/2 | encode Internationalized Domain Names using IDNA protocol. |
from_ascii/1 | like to_ascii/1 |
to_ascii/1 | encode an International Domain Name to IDNA protocol (compatibility API). |
to_unicode/1 | decode an an encoded International Domain Nam eusing thz IDNA protocol (compatibility API). |
ulabel/1 | |
utf8_to_ascii/1 |
alabel(Label0) -> any()
check_context(Label) -> any()
check_hyphen(Label) -> any()
check_initial_combiner(X1) -> any()
check_label(Label::string()) -> ok
check_label(Label, CheckHyphens, CheckJoiners, CheckBidi) -> Result
validate a label of a domain
check_label_length(Label) -> any()
check_nfc(Label) -> any()
decode(Domain::string()) -> string()
decode an International Domain Name encoded with the IDNA protocol
decode(Domain0::string(), Options::idna_flags()) -> string()
decode an International Domain Name encoded with the IDNA protocol
encode(Domain::string()) -> string()
encode Internationalized Domain Names using IDNA protocol
encode(Domain0::string(), Options::idna_flags()) -> string()
encode Internationalized Domain Names using IDNA protocol.
Input can be mapped to uniccode using [uts46](https://unicode.org/reports/tr46/#Introduction)
by setting the uts46
flag to true
(default is false
). If transition from IDNA 2003 to
IDNA 2008 is needed, the flag transitional
can be set to true
, (default is false
). If
conformance to STD3 is needed, the flag std3_rules
can be set to true
. (default is false
).
from_ascii(Domain::nonempty_string()) -> nonempty_string()
like to_ascii/1
to_ascii(Domain::string()) -> string()
encode an International Domain Name to IDNA protocol (compatibility API)
to_unicode(Domain::string()) -> string()
decode an an encoded International Domain Nam eusing thz IDNA protocol (compatibility API)
ulabel(Label0) -> any()
utf8_to_ascii(Domain) -> any()
Generated by EDoc