glidna
IDNA (RFC3490) and punycode (RFC3492) implementation for Gleam
gleam add glidna@1
import glidna
pub fn main() -> Nil {
glidna.to_ascii("www.münchen.com")
// -> Ok("www.xn--mnchen-3ya.com")
}
Further documentation can be found at https://hexdocs.pm/glidna.
Development
gleam run # Run the project
gleam test # Run the tests