Recent Topics

1 Jan 07, 2015 09:34    

Hi, folks,

I've upgraded some of my blogs at to 5.2.0. Originally I believe they were in 2.4, then upgraded to 5.0.8, and now to 5.2.0. Now something very odd is happening. If I use Russian (Cyrillic) letters in the subject line or the body of a post, then as soon as I click the "Save & Edit" button, the Cyrillic characters are turned into html "&#" entitites. This makes further editing impractical. Here is a picture of an example post before clicking "Save & Edit":

http://shininghappypeople.net/doc/before-saving.png

And here is a picture after clicking "Save & Edit":

http://shininghappypeople.net/doc/after-saving.png

Any idea what is going on here? The database collation is utf8_general_ci, and the language selected is "English (US) utf8", so this really shouldn't be happening.

Don.

2 Jan 10, 2015 07:29

Hi @deljr,

Please check if the Preferred locale of your user is still set to "English (US) latin1" (http://b2evolution.net/man/user-preferences).

The thing is that, by following the upgrade sequence that you have described, I noticed that my user was still set to that local, even if it is not enabled in the site. So, in that case, I got the same error when tried to write a new post using cyrilic characters, but after changing the value to "English (US) utf8", everything worked as expected.

Maybe you still need to force the automatic change of locale for all the users of your site, and for the collections as well, from "English (US) latin1" to "English (US) utf8". You can do it by following these steps:

1) Go to the locales tab (http://b2evolution.net/man/locales-tab)
2) If it is disabled, enable the en-US locale (check the Enable box and click on the Save changes! button)
3) Disable the en-US locale (uncheck the Enable box and click on the Save changes! button)
4) A Confirm update message will be displayed summarizing all the changes that you're about to perform, if everything is correct, click on the button Confirm.

Regards!

3 Jan 10, 2015 22:35

Thanks, mqsolipa ! I think that solved the issue. I'm now wondering whether that will resolve some other issues from one of my other Russian blogs. Don.


Form is loading...