Skip to content

Problems with UTF-8 characters inside stings in variables #1717

@smborio

Description

@smborio

I have a problem with Parsons questions authored in Italian (and I can imagine other languages have similar problems), which I suspect it's a more general issue for strings including latex created in the question variables. I am using \operatorname{nullità}(A) for the Nullity of a matrix, which displays as follows, with an incorrect accented a at the end:

Image

I tried using latex inside the operatorname command and use latex syntax for the accented a and it doesn't help. Something like \operatorname{nullit\`{a}}(A) would work but it gives me the following, which makes me think it's a parser thing (this is what I would naturally do in Latex directly, maybe I'm missing something):

Image

What somewhat worked was using \mathbf{nullità}(A), which seems a hacky solution, or \mathop{\mathrm{nullit\grave{a}}}(A), which creates a huge accent instead:

Image

If it's a problem with my authoring please could you let me know? Otherwise, I would be thankful if the cause could be investigated.

Note: I'm using double backslash in my commands, it is displaying as only one in this issue for some reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions