L
L
leha782015-12-16 14:15:16
PHP
leha78, 2015-12-16 14:15:16

Why is the Cyrillic alphabet not shown when wardumping?

When var_dump text, instead of letters, krakozyabry are shown. Where can you decide?
Array
(
[title] => Р'архатные Ручки крем для СЂСѓРє (питательный) 80РјР» (25972)
[price ] => P¦PµPSP°: 82 СЃРѕРј
[brand] => Р'архатные Ручки
)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Mokhov, 2015-12-16
@leha78

you have code in utf8 and you are looking at cp1251 encoding

Array
(
[title] => Бархатные ручки крем для рук (питательный) 80мл (25972)
[price] => Цена: 82 сом 

[brand] => Бархатные ручки
)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question