diff --git a/wire/core/PagesNames.php b/wire/core/PagesNames.php index f3a8f78d..193c8e2d 100644 --- a/wire/core/PagesNames.php +++ b/wire/core/PagesNames.php @@ -524,6 +524,10 @@ class PagesNames extends Wire { $options = array_merge($defaults, $options); $languages = $options['multilang'] || $options['language'] ? $this->wire('languages') : null; if($languages && !$this->wire('modules')->isInstalled('LanguageSupportPageNames')) $languages = null; + + if($this->wire('config')->pageNameCharset == 'UTF8') { + $name = $this->wire('sanitizer')->pageName($name, Sanitizer::toAscii); + } $wheres = array(); $binds = array();