In CodeIgniter 4:
Update app/Config/App.php and set update this line:
public string $permittedURIChars = 'a-z 0-9~%.:_\-';
A full list of Unicode ranges can be found at Wikipedia’s Unicode block.
See more in CI4 manual.