K
K
Kostya007232016-03-25 17:28:37
PHP
Kostya00723, 2016-03-25 17:28:37

How to fix the encoding on the site?

Russian letters 'I', 'E' in caps are perceived by the site as � (symbols)
What could be the problem? (all other letters are displayed as needed)
Information :
Data is taken from the GET request
UTF8 file encodings are set
Already the whole brain has broken ...
cbfb3e10d3ac4bdbb3cf9ae0e94f11ce.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2016-03-25
@Kostya00723

Before sending
$string = iconv("windows-1251", "utf-8", $string);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question