Forum Discussion
MarcusAlgotsson
3 years agoCommunity Member
cmi.interactions.learner_response and cmi.interactions.description handles special signs in a different way
We are trying to read the question and the answers from the users into our LMS. The question is not a problem, but the answers are. In the answers special signs (i.e. the Swedish signs åäö) is conve...
JohanBengtsson-
3 years agoCommunity Member
Asch, found it. It seems this have been solved already a long time ago, but the solution is turned off by default.
Create a trigger executing the following javascript somewhere at the start of the course solves the problem:
USE_LEGACY_IDENTIFIERS_FOR_2004=false;
Why this is not available as a checkbox somewhere in the settings page for scorm is beyond my understanding however.
The stored string is then a proper URI as per the scorm 2004 standard. Decoding this string gives the complete content.
cmi.interactions.0
- cmi.interactions.0.id: urn:scormdriver:Scene1_Slide2_MultiChoice_0_0
- cmi.interactions.0.type: Choice
- cmi.interactions.0.objectives.0.id: urn:scormdriver:test
- cmi.interactions.0.timestamp: 2022-03-30T11:31:24.0+02
- cmi.interactions.0.correct_responses.0.pattern: urn:scormdriver:yes,%20it%20will%20%E2%80%98%C3%A5%C3%A4%C3%B6%E2%80%99
- cmi.interactions.0.weighting: 1
- cmi.interactions.0.learner_response: urn:scormdriver:yes,%20it%20will%20%E2%80%98%C3%A5%C3%A4%C3%B6%E2%80%99
- cmi.interactions.0.result: correct
- cmi.interactions.0.latency: 0000:00:07.92
- cmi.interactions.0.description: test question, will it work with the swedish signs ‘åäö’?