Issue Details (XML | Word | Printable)

Key: MDL-13174
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Gordon Bateson
Reporter: Tormod Aagaard
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

When importing HotPotatoes quizzes, problem with non-ascii characters in response.

Created: 26/Jan/08 08:26 AM   Updated: 04/Mar/08 12:59 PM
Return to search
Component/s: Hotpot
Affects Version/s: 1.9
Fix Version/s: 1.6.7, 1.7.5, 1.8.5, 1.9

File Attachments: 1. PNG File editquestion_unicode.png (1.17 MB)
2. File test_unicode.jcl (3 kB)

Image Attachments:

1. test_unicode_ correct.png
(18 kB)

2. test_unicode_ screen.png
(6 kB)

3. unicode.jcl.jpg
(40 kB)

Participants: Gordon Bateson, Martin Dougiamas and Tormod Aagaard
Security Level: None
Resolved date: 31/Jan/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE


 Description  « Hide
When importing a question in the HotPotatoes format, non-ascii characters in the response part will not get converted, but passed on as html entities. Correct answer "prøve" will be "prøve" in the resulting quiz question.

This only applies to import of questionsto the question bank in the HotPotatoes format (.xml), and not to HotPotatoes exercises added as .htm files.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
gbateson committed 1 file to 'Moodle CVS' on branch 'MOODLE_16_STABLE' - 31/Jan/08 04:24 PM
fix for MDL-13174 : replace calls to html_entity_decode() with hotpot_charcode_to_utf8() because html_entity_decode is broken in PHP 4
MODIFY question/format/hotpot/format.php   Rev. 1.5.10.3    (+24 -2 lines)
gbateson committed 1 file to 'Moodle CVS' on branch 'MOODLE_17_STABLE' - 31/Jan/08 04:25 PM
fix for MDL-13174 : replace calls to html_entity_decode() with hotpot_charcode_to_utf8() because html_entity_decode is broken in PHP 4
MODIFY question/format/hotpot/format.php   Rev. 1.5.8.5    (+24 -2 lines)
gbateson committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 31/Jan/08 04:25 PM
fix for MDL-13174 : replace calls to html_entity_decode() with hotpot_charcode_to_utf8() because html_entity_decode is broken in PHP 4
MODIFY question/format/hotpot/format.php   Rev. 1.10.2.2    (+24 -2 lines)
gbateson committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 31/Jan/08 04:26 PM
fix for MDL-13174 : replace calls to html_entity_decode() with hotpot_charcode_to_utf8() because html_entity_decode is broken in PHP 4
MODIFY question/format/hotpot/format.php   Rev. 1.12.4.3    (+24 -2 lines)
gbateson committed 1 file to 'Moodle CVS' - 31/Jan/08 04:28 PM
fix for MDL-13174 ' replace calls to html_entity_decode() with hotpot_charcode_to_utf8() because html_entity_decode is broken in PHP4
MODIFY question/format/hotpot/format.php   Rev. 1.14    (+24 -2 lines)