TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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
up vote 1 down vote accepted

Have you tried supplying the utf8 option?

Like so: \usepackage[utf8]{inputenc}

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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