openmeetings / openmeetings-moodle-plugin

GNU General Public License v3.0
16 stars 8 forks source link

Cannot send persian messages in chat #31

Closed mafzalzadeh closed 6 years ago

mafzalzadeh commented 6 years ago

Hi. There is a problem in chat messages with moodle plugin. When I send a Persian character it responses 500 but English has no problem. When I go to openmeetings I can send messages with no problem but error happens on moodle and the page goes white and needs to refresh the page.

How can we fix it?

image

solomax commented 6 years ago

What version of OM are you using?

Am I right thinking your steps are:

  1. login room using Moodle (any room type? some specific room options?)
  2. open Chat
  3. type message in Persian (can you share the message here?) Result: crash

What in the logs? (openmeetings.log)

mafzalzadeh commented 6 years ago

I've found it was because of the MYSQL database collation. It was set on latin1_swedish_ci and when changed it to utf8mb4_persian_ci the problem solved.

Thanks.

solomax commented 6 years ago

Good to know :)