Explore the community Forums Lectora Lectora Questions & Answers Quiz: right answer can't have curly quotes

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #297158 Score: 0
    Profile photo of cpliu
    cpliu
    Member
    beginner
    intermediate
    contributor
    curious george
    wise owl
    Group Member
    2 pts
    @cpliu

    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.

     

    Thanks,

    #297169 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

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

    #297170 Score: 0
    Profile photo of cpliu
    cpliu
    Member
    beginner
    intermediate
    contributor
    curious george
    wise owl
    Group Member
    2 pts
    @cpliu

    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.

    #297176 Score: 0
    Profile photo of cpliu
    cpliu
    Member
    beginner
    intermediate
    contributor
    curious george
    wise owl
    Group Member
    2 pts
    @cpliu

    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 :

    <correctans>s1vEx9q2p5p4p4qFqEp1p5q9p3v0qEqFp3p4p2p5q4v0\u201Cq5p8q5p2q3q9p4q1p4q9qFqE\u201Dv0p5qCqCq1qDq3qFv0qCq1q2qFp2q9p3x9rCp2</correctans>
    <correctans>s1vEx9r3qFqDq5qFqEq5\u2019p3v0p0qFqCq9q3p9vEx9rCp2</correctans>
    <correctans>s1vEv0r3qFqDq5qFqEq5\u2019p3v0p0qFqCq9q3p9vE</correctans>
    <correctans>sCqFp2q5qDv0q9p0p3p5qDv0q4qFqCqFp2v0p3q9p4v0q1qDq5p4vCv0q3qFqEp3q5q3p4q5p4p5p2v0s0v0p3q9q7qEvE</correctans>
    <correctans>sCqFp2q5qDv0q9p0p3p5qDv0q4qFqCqFp2v0p3q9p4v0q1qDq5p4vCv0q3qFqEp3q5q3p4q5p4p5p2v0q0v0p3q9q7qEvE</correctans>
    <correctans>sCqFp2q5qDv0q9p0p3p5qDv0q4qFqCqFp2v0p3q9p4v0q1qDq5p4vCv0q3qFqEp3q5q3p4q5p4p5p2v0mEv0p3q9q7qEvE</correctans>
    <correctans>sCqFp2q5qDv0q9p0p3p5qDv0q4qFqCqFp2v0p3q9p4v0q1qDq5p4vCv0q3qFqEp3q5q3p4q5p4p5p2v0\u2018p4q5p3p4\u2019</correctans>
    <correctans>s3q8qFq9q3q5v0sFqEq5v0q0q0q0q0v0p4q5p3p4</correctans>

     

    <correctans>A. buttonquis nostrud “exercitation” ullamco laboris \r</correctans>
    <correctans>A. Someone’s policy. \r</correctans>
    <correctans>A. Someone’s policy.</correctans>
    <correctans>Lorem ipsum dolor sit amet, consectetur @ sign.</correctans>
    <correctans>Lorem ipsum dolor sit amet, consectetur ` sign.</correctans>
    <correctans>Lorem ipsum dolor sit amet, consectetur ® sign.</correctans>
    <correctans>Lorem ipsum dolor sit amet, consectetur ‘test’</correctans>
    <correctans>Choice One test</correctans>

    #297187 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

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

    #297196 Score: 1
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    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.

    This post has received 1 vote up.
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.