Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

UTF-8 problems

From MoodleDocs

UTF-8 migration > Problems

Problems (and solutions!)

  • Password field(s) can be encoded in anything, and it is encrypted using a one way md5 hash. This means that we can not reverse the md5, thus if a string was encoded in an arbitrary language, we can not do the proper DB migration for that. Possible solution: auto generate new password and send to all users?
  • Exercise - password - md5
  • Lesson, lesson_default - password - md5
  • Workshop - password - md5
  • Quiz module, the use of field "uniqueid" in attempts - uniqueid is used to link to quiz_states table which is in turn linked to many quiz tables. dev - linked using uniqueid? stable - linked using id??
  • Locales: What happens with locales once we have converted lang packs. Currently the process is adding the .UTF-8 suffix to them, but is this the best solution. Would be better to add support for one windows locale and other unix locale? Uhm...