Y
Y
Yuri Maslennikov2016-11-14 14:59:07
Character encoding
Yuri Maslennikov, 2016-11-14 14:59:07

How to fix coding bug when displaying events in WordPress?

Hello, there is a question that needs permission:
There is an event output on the site (event in the side menu of the admin panel)
Should be implemented on the main page and in the events themselves ( http://cm43166-wordpress-9.tw1.ru/event/%d1% 82%d0%... and cm43166-wordpress-9.tw1.ru/events )
The essence of the bug is that when creating or editing an event, it is impossible to save text with Cyrillic characters in the address field (other fields are normal) - only Latin.
More precisely, after saving the text in Cyrillic beats and displays abracadabra, and not only on the front, but immediately in the admin
panel gyazo.codepeckers.ru/i/1c357637f6e3a30135a1d5ff61f6.png
If I understand correctly, these hieroglyphs appear after text compression in windows-1251 type encoding by JavaScript
Adding the line : AddDefaultCharset UTF-8 to .htaccess does not change the situation in
config.php - also normal! theme was used
in the database UTF-8 encoding : https://themeforest.net/item/charitiz-charity-dona ... !

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2016-11-14
@HeadOnFire

These are Cyrillic character codes in the Unicode table. But why it converts into them is hard to say. It is necessary to look at the code for saving this field.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question