Note:

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

UTF-8 problems: Difference between revisions

From MoodleDocs
(developer wiki transfer)
 
Line 8: Line 8:
* Workshop - 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??  
* 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...




[[Category:UTF-8|Problems]]
[[Category:UTF-8|Problems]]

Revision as of 01:12, 16 January 2006

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...