I need to display a few extended ASCII characters and this is what I have coded so far.
\documentclass[a4paper , 12pt]{report}
\usepackage[mathletters]{ucs}
\usepackage[utf8x]{inputenc}
\begin{document}
$½·®½´»ò Í«°°±-» §±«$
\end{document}
The error message that I've got is
Package utf8x Error: Character189appearedalone.
This error message appears for each extended ASCII character between the two $
marks.
Could someone please help me out?
It is not necessary to use math mode. Non math mode suggestions will do as well.
Best Answer
You should avoid using the
ucs
package as it hasn't been maintained for a long time - see the question utf8x vs. utf8 (inputenc). Instead you can use T1-encoded fonts andtextcomp
:(Don't forget to save the file encoded in UTF-8.)
If you want to keep your current file encoding, ANSI, you should pass the option
ansinew
instead ofutf8
toinputenc
. However, the plus-minus sign (±) doesn't seem to be considered in this encoding by default, so you have to take care of that yourself, like this: