Skip to content Skip to footer navigation

Ascii Modifier

Replaces all non-ASCII characters with their closest ASCII counterparts and removes any unsupported characters completely. This is very useful for converting foreign language strings into something more code-friendly.

title: lemoñade
{{ title | ascii }}
{{ Statamic::modify($title)->ascii() }}
lemonade