Quiz: right answer can';t have curly quotes

I found Lectora v12.1.0 (9828) can't answer-judge the right answer if the right answer has curly quotes (i.e. “ ” ’). If you pick the right answer, Lectora would judge you as the wrong choice. Maybe it does not encode the special characters correctly in XML so it does not know if you select the right answer. We get our content from Word so all quotes are stylized. In the earlier version, Lectora gives warning on using plain quotes in answers, but now have problem with curly quotes.

Do you encounter the same problem.

undefined

Thanks,

Discussion (5)

What is the version of your Lectora? (mine is 12.1.0 (9828).) I didn't upgrade when I got the alert there is a new version available a few days ago since we need our IT to ensure the compatibility with the LMS first.

I will try to create one to confirm.

Mine is 12.1.1 (9936). I will look into the files later today.

Cannot confirm this. I just tried it in all sorts of situations and curly quotes cause no problem. Care to share a sample title?

I just tested a few variations of text and can confirm that it can't detect right answers if it has curly quotes (styles from Word) when published as AICC with Lectora 12. It works OK when testing in Lectora run mode but does not judge the right answers as right answer running from LMS. Publish the same resource file in Lectora 11, I got 100% correct. BTW, all buttons and some actions disappeared when opening with Lectora 11.

Here are the right answer choice texts that it has problems.

buttonquis nostrud “exercitation” ullamco laboris

Someone’s

‘test’

I attached my source file, published files in Lectora 12, and _tobj9303.xml (in both versions).

Also here are the encoded (v12) vs unencoded (v11) right answers :

undefineds1vEx9q2p5p4p4qFqEp1p5q9p3v0qEqFp3p4p2p5q4v0\u201Cq5p8q5p2q3q9p4q1p4q9qFqE\u201Dv0p5qCqCq1qDq3qFv0qCq1q2qFp2q9p3x9rCp2undefineds1vEx9r3qFqDq5qFqEq5\u2019p3v0p0qFqCq9q3p9vEx9rCp2undefineds1vEv0r3qFqDq5qFqEq5\u2019p3v0p0qFqCq9q3p9vEundefinedsCqFp2q5qDv0q9p0p3p5qDv0q4qFqCqFp2v0p3q9p4v0q1qDq5p4vCv0q3qFqEp3q5q3p4q5p4p5p2v0s0v0p3q9q7qEvEundefinedsCqFp2q5qDv0q9p0p3p5qDv0q4qFqCqFp2v0p3q9p4v0q1qDq5p4vCv0q3qFqEp3q5q3p4q5p4p5p2v0q0v0p3q9q7qEvEundefinedsCqFp2q5qDv0q9p0p3p5qDv0q4qFqCqFp2v0p3q9p4v0q1qDq5p4vCv0q3qFqEp3q5q3p4q5p4p5p2v0mEv0p3q9q7qEvEundefinedsCqFp2q5qDv0q9p0p3p5qDv0q4qFqCqFp2v0p3q9p4v0q1qDq5p4vCv0q3qFqEp3q5q3p4q5p4p5p2v0\u2018p4q5p3p4\u2019undefineds3q8qFq9q3q5v0sFqEq5v0q0q0q0q0v0p4q5p3p4undefined

Lectora 12 encodes every character of the correct answer with two characters. So "u" becomes "p5" and "d" becomes "q4" and so on. The first char is taken from a reversed alphabet cypher and the second char is simply the second char of corresponding UTF code.

Somehow, the curly quote becomes "\u201C" in Lectora, where "\u201" should have been converted to a cyphered "z201" or something. Obviously a bug in the new quiz answers cyphering system.

I think the easiest workaround for now is to avoid curly quotes (e.g. mass replace them in Word before copying into Lectora). You can double check for them after publish by searching "u201" in the quiz XML.

Discussions have been disabled for this post