xuyuan / pgf-umlcd

this project is transfered to https://github.com/pgf-tikz/pgf-umlcd
https://github.com/pgf-tikz/pgf-umlcd
Other
55 stars 17 forks source link

Can't use UTF-8 characters (cyrillic) #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
On code like this:

\begin{tikzpicture}
\begin{package}{Консоль администратора}
\begin{abstractclass}[text width=15cm]{AbstractBackend}{0,0}
\operation[0]{+ addresses}
\operation[0]{+ send(address, message)}
\end{abstractclass}
\end{package}
\end{tikzpicture}

I get this error:

! Missing \endcsname inserted.
<to be read again>
\T2A\CYRK
l.91 \end{package}
The control sequence marked <to be read again> should
not appear between \csname and \endcsname.
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
Missing character: There is no � in font nullfont!
! Extra \endcsname.
<argument> ...pgf@sh@sa@\tikz@fig@name \endcsname
{\pgf@sh@reanchor {\tikz@s...
l.91 \end{package}
I'm ignoring this, since I wasn't doing a \csname.

What version of the product are you using? On what operating system?

TeXLive 2011.3-7 (at least this is what my package manager tells me about 
texlive-bin) on ArchLinux.

Please provide any additional information below.

This code works just fine:

\begin{tikzpicture}
\node[rectangle,draw]{Прямоугольник};
\end{tikzpicture}

Original issue reported on code.google.com by art-solo...@yandex.ru on 11 Jun 2012 at 7:08