I tried "Hevea" to convert Xelatex file to html, it worked great with table conversion etc. However my document has lot of characters like (स्वाध्यायनिरताम्) and I am getting this error.

bash-3.2# hevea Bala.tex
./Bala.tex:39: Error while reading LaTeX:
    Non-ascii '?' in input, consider using package inputenc

I tried with \usepackage{inputenc} but that did not help. Any suggestions would be greatly appreciated.

  • Have you tried supplying the utf8 option? \usepackage[utf8]{inputenc} – user2473 Feb 12 '12 at 20:01
  • somehow there was utf8x now sure how the x got there. and it worked. thanks for quick answer. – Aku Feb 12 '12 at 20:08

Have you tried supplying the utf8 option?

Like so: \usepackage[utf8]{inputenc}

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.