Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

1 Answer 1

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.