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 punycode form. The string shouldn't contain the initial xn--, and must contain only ASCII characters.
punycode_to_string('input_string')
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
input_string | string |
✔️ | A string to be decoded from punycode form. The function accepts one string argument. |
- Returns a
string
that represents the original, decoded string. - Returns an empty result if decoding failed.
print decoded = punycode_to_string('acadmie-franaise-npb1a')
decoded |
---|
académie-française |
- Use punycode_from_string() to encode a string to punycode form.