Moodle

When importing a questionnaire from a GIFT file, special characters will not be shown if the file is in ISO-8859-1

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Not a bug
  • Affects Version/s: 1.8
  • Fix Version/s: None
  • Component/s: Quiz
  • Labels:
    None
  • Environment:
    LAMP
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE

Description

If the GIFT file is in ISO-8859-1, it will be imported but special characters such as åäö will break the questionnaire.

When importing the attached file, the question "Har Java-kompilatorn installerats framgångsrikt?" will end up as "Har Java-kompilatorn installerats framg".

If the GIFT file is saved in UTF-8 it imports without any problems.

Activity

Hide
Mike Churchward added a comment -

Reassigning this to the quiz module. Questionnaire cannot import GIFT files.

Show
Mike Churchward added a comment - Reassigning this to the quiz module. Questionnaire cannot import GIFT files.
Hide
Pierre Pichet added a comment -

the instructions or help of the import process says clearly

"A note about character encodings

If your file contains non-ascii characters then it must use UTF-8 encoding.
You may be able to select or convert to UTF-8 using your favourite editor,
or it may be an option in the exporting software.
XML based import formats will be handled
automatically provided your Moodle server is running PHP 5.
"

Show
Pierre Pichet added a comment - the instructions or help of the import process says clearly "A note about character encodings If your file contains non-ascii characters then it must use UTF-8 encoding. You may be able to select or convert to UTF-8 using your favourite editor, or it may be an option in the exporting software. XML based import formats will be handled automatically provided your Moodle server is running PHP 5. "

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: