R
R
Roman Govorov2021-06-25 13:58:53
PHP
Roman Govorov, 2021-06-25 13:58:53

How to save cookies with Cyrillic?

setcookie("cityUser", "Москва", time()+3600);
The result is the following:
60d5b727e737c610411609.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
toxa82, 2021-06-25
@RGameShow

Most likely it will come to the server in a normal form. But if necessary, you can use urldecode to reverse decode.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question