Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Decodes input string from encoded Internationalized Domain Name in Applications (IDNA) punycode form.
punycode_domain_from_string(
encoded_string)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
encoded_string | string |
✔️ | An IDNA string to be decoded from punycode form. The function accepts one string argument. |
- Returns a
string
that represents the original Internationalized Domain Name. - Returns an empty result if decoding failed.
datatable(encoded:string)
[
"xn--Ge-mia.Bulg.edu",
"xn--Lin-8na.Celtchair.org",
"xn--Ry-lja8c.xn--Jng-uta63a.xn--Bng-9ka.com",
]
| extend domain=punycode_domain_from_string(encoded)
encoded | domain |
---|---|
xn--Ge-mia.Bulg.edu | Gáe.Bulg.edu |
xn--Lin-8na.Celtchair.org | Lúin.Celtchair.org |
xn--Ry-lja8c.xn--Jng-uta63a.xn--Bng-9ka.com | Rúyì.Jīngū.Bàng.com |
- To encode a domain name to punycode form, see punycode_domain_to_string().