News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Error in non-latin characters encoding on editing

Started by Pyrhel, July 09, 2020, 02:00:15 AM

Previous topic - Next topic

Pyrhel

Hello everyone!

Since last week we have very strange problem in our forum. It didn't happen before and no files have been updated or edited. All the posts in the forum are in Cyrillic. SMF: 2.0.17
The problem: someone (or I) post something - everything is normal. If I or he/she edit their post, every Cyrillic character becomes a UTF code. Here is an example:
"тест" when edited becomes "%u0442%u0435%u0441%u0442".

I think my hosting have changed something, but they deny they've touched anything with my account or DB. Do you have any ideas what can be done?

Dzonny

Hello there.

When you get into phpMyAdmin what is the collation in each table?

Pyrhel


Arantor

Holder of controversial views, all of which my own.


shawnb61

A temp fix is outlined here:
https://www.simplemachines.org/community/index.php?topic=571082.msg4042818#msg4042818

Note that updates to .js rarely take effect immediately - you have to force a browser refresh (usually shift-F5). 

You must revert the fix to script.js before applying any future SMF patch.

A question worth asking is born in experience & driven by necessity. - Fripp

Pyrhel


Advertisement: