mathjax / MathJax-node

MathJax for Node
Apache License 2.0
615 stars 97 forks source link

greek symbols not being rendered using page2html #261

Closed newtechfellas closed 8 years ago

newtechfellas commented 8 years ago

Given below text in input.html, page2html is not displaying greek symbols. page2htlm <input.html >output.html. On viewing the output.html with Firefox/Chrome, greek symbols are not being displayed. Suppose \(\alpha,\beta,\gamma\) are roots of \(x^3+x^2+2x+3=0\). If f(x)=0 is cubic polynomial equation whose roots are \(\alpha+\beta,\beta+\gamma,\gamma+\alpha\) then f(x)= Browser displayed content. screen shot 2016-09-22 at 10 19 33 pm

pkra commented 8 years ago

Please post the complete output HTML. It looks like the typical result of not declaring UTF-8 in an HTML file.

newtechfellas commented 8 years ago

that was it. thanks. adding utf-8 charset resolved it.

pkra commented 8 years ago

Thanks for the follow up. Good to hear you could fix it.