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
Docs Feedback
Submit improvements, related content, or suggestions through Github.
Betterify this page