io.lemonlabs.uri.inet.PunycodeSupport.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala-uri_2.12 Show documentation
Show all versions of scala-uri_2.12 Show documentation
Simple scala library for building and parsing URIs
package io.lemonlabs.uri.inet
import java.net.IDN
trait PunycodeSupport {
def toPunycode(host: String) =
IDN.toASCII(host)
}