roniemartinez / latex2mathml

Pure Python library for LaTeX to MathML conversion
MIT License
183 stars 25 forks source link

Certain characters incorrectly encoded with ISO-8859-1 #464

Open nxfi777 opened 6 months ago

nxfi777 commented 6 months ago

I've noticed that sometimes, the ' character is parsed into ’ (which is the same in ISO-8859-1 single-byte encoding, rather than UTF-8). I cannot create an fully functional MRE, as this only occurs occasionally.

UPDATE: I have just found another case, where the σ (\sigma) in σ-algebras is encoded as σ-algebra