S
S
Stanislav Koritsky2014-10-29 19:13:20
Node.js
Stanislav Koritsky, 2014-10-29 19:13:20

On the server, instead of the Cyrillic character "i" I get "?". What is the problem?

Hello!
When submitting the form using the GET method on the server, I get the form parameters through req.query. But all the letters "i" in Cyrillic are replaced by question marks "?". How to be? Write in value in Latin? Is it possible somehow not to replace it with the Latin alphabet, but still transfer the Cyrillic alphabet to the value? Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-10-29
Protko @Fesor

UTF-8

A
Andrey Zenkov, 2014-10-29
@andreyzenkov

Specify the encoding in the form.
htmlbook.ru/html/form/accept-charset

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question