We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

UTF-8 url

hey , so i'm seeing a problem , don't know if it's phalcons problem or he browser...

if a url is created ex: www.example.com/this-is-a-slug, it will work normaly. But if a special char is in a url , say an ç or any other in the slug , the page breaks.

Any idea why ?

It's difficult to help without more information. What HTTP server are you using? Possible areas for investigating are:

https://nginx.org/en/docs/http/ngx_http_charset_module.html#charset

https://httpd.apache.org/docs/2.4/mod/core.html#adddefaultcharset

<?php ini_set('default_charset', 'UTF-8'); ?>