[SOLVED] PMS internal - wrong characters in Cyrillic

5 years 4 months ago - 5 years 4 months ago #309278 by ciklon
Hello,

When using the internal Private Messaging System in CB 2.3.0, messages written in Cyrillic are displayed only characters
"?" instead of Cyrillic.

How can I fix this problem with character encoding?

- Joomla 3.9.1
- Community Builder 2.3.0+build.2018.11.26.18.02.53.89a6e2ebd
- PHP Version 7.0.33-0
- Database Version 5.5.5-10.1.37-MariaDB-0

Thanks
Attachments:

Please Log in to join the conversation.

5 years 4 months ago #309280 by krileon
Replied by krileon on topic PMS internal - wrong characters in Cyrillic
Default database collation is probably set wrong and the table didn't create with UTF8 encoding. Within _comprofiler_plugin_messages ensure the collation for message column is correctly set to utf8mb4_unicode_ci.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: ciklon

Please Log in to join the conversation.

5 years 4 months ago #309282 by ciklon
Replied by ciklon on topic PMS internal - wrong characters in Cyrillic
Thanks @krileon, indeed, the collation of _comprofiler_plugin_messages was different from collation of database . I changed the collation from latin1 to utf8mb4_unicode_ci and now everything is ok. The issue is solved.
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.196 seconds

Facebook Twitter LinkedIn