Non-core contributed modules

Handle converting WebCT XML content encoding to UTF-8 where necessary

Details

  • Type: Sub-task Sub-task
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Tool: WebCTImport
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

When importing courses from WebCT to Moodle 1.9, strings are not converted to UTF-8. The resulting strings in Moodle are either completely absent or incomplete. I've noticed this behavior when importing questions but I'm not sure if it affects other aspects of imported courses.

I've written a simple patch that detects the encoding of the questionsDB.xml file and converts it to UTF-8 before processing the contents.

  1. diff.txt
    05/Apr/08 5:49 AM
    0.5 kB
    Jerome Charaoui
  2. diff-ok.txt
    05/Apr/08 6:05 AM
    1 kB
    Jerome Charaoui

Activity

Hide
Jerome Charaoui added a comment -

The original diff.txt patch was missing a part, this is the complete, initial patch proposed.

Show
Jerome Charaoui added a comment - The original diff.txt patch was missing a part, this is the complete, initial patch proposed.
Hide
Anthony Borrow added a comment -

Moving to the Tool: WebCTImport Component and assigning to Ashley

Show
Anthony Borrow added a comment - Moving to the Tool: WebCTImport Component and assigning to Ashley
Hide
Ashley Holman added a comment -

Hi Jerome,

I noticed this patch isn't yet in the latest CVS revision. Are you able to attach a ce4 backup which demonstrates the issue so I can do some testing?

Regards
Ashley

Show
Ashley Holman added a comment - Hi Jerome, I noticed this patch isn't yet in the latest CVS revision. Are you able to attach a ce4 backup which demonstrates the issue so I can do some testing? Regards Ashley

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated: