String.toAscii
toAscii() -> string
Description
Replace all accented characters (e.g. Latin extended) and smart punctuation (e.g. smart quotes, em dashes, etc.) to their ASCII equivalent. Capitalization is preserved.
If any non-ASCII characters remain, they are removed.
$s = 'Hēllő Ťhērę…' $s.toAscii() //= 'Hello There...'