This is with ref to my previous question Package clash in multilingual report.
\documentclass[11pt,table,a4paper]{article}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage[english,russian]{babel}
\newenvironment{SChinese}{%
\CJKfamily{gbsn}%
\CJKtilde
\CJKnospace}{}
\begin{document}
\selectlanguage{russian}
Это мой первый многоязычный докладе.
Инфантильный гипертрофический стеноз привратника - это серьёзное
\selectlanguage{english}
This is my first multilingual report.
\begin{CJK}{UTF8}{}
\begin{SChinese}
这是我的第一个多语种的报告。
\end{SChinese}
\end{CJK}
\end{document}
when I try to compile it, I get following error message.
LaTeX Warning: Unused global option(s):
[table].
(./data.aux
(/usr/local/texlive/2011/texmf-dist/tex/latex/cyrillic/t2acmr.fd))
(/usr/local/texlive/2011/texmf-dist/tex/latex/lm/t1lmr.fd)
LaTeX Font Warning: Font shape `T2A/lmr/m/n' undefined (Font)
using `T2A/cmr/m/n' instead on input line 15.
! Package inputenc Error: Unicode char \u8: not set up for use with
LaTeX.
See the inputenc package documentation for explanation. Type H
<return> for immediate help. ...
l.18 ...�ный гипертрофический стеноз привра...
How can I avoid such error message.
Best Answer
The error you get is due to a "no-break space" character, according to what I can gather by copying an pasting your message.
This character is not usually set up by the
[utf8]
option and it's invisible to many editors, so it can slip in a document without the typist knowing it.Solution: add in your preamble
if you don't mean to type a no-break space, or
if you want that the character stands for what its name says.
UPDATE
Recent (after 2015-01-01) versions of the UTF8 configuration file for
inputenc
do define U+00A0 as\nobreakspace
, so this should be of no concern, now.