S
S
Sergey Defactov2017-09-11 17:22:00
PHP
Sergey Defactov, 2017-09-11 17:22:00

404 with Cyrillic url?

Good evening, the database in utf8 in the header has adddefault charset = utf8
there are user profiles if the username is specified in Russian then it does not follow the link - 404
how can I add Cyrillic reading in the links?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Kornilov, 2017-09-11
@KorniloFF

urlencode (url);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question