General ⇒ TexnicCenter 2.02 64bit shows Russian text as garbage
TexnicCenter 2.02 64bit shows Russian text as garbage
Attempt to set Tools/Options/Text Format/Choose Font/Script=Cyrillic does not help.
Please, help.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10361
- Joined: Mon Mar 10, 2008 9:44 pm
Re: TexnicCenter 2.02 64bit shows Russian text as garbage
welcome to the forum!
I guess you already solved the problem. Or do you keep using TeXworks now? This is my favorite editor btw.
I think in TeXnicCenter it's an input encoding issue. You need to use the same encoding as with the previous version of TeXnicCenter. Otherwise you could open it in TeXnicCenter but specify the encoding type while opening.
Stefan
Re: TexnicCenter 2.02 64bit shows Russian text as garbage
Very thanks for reply. Unfortunately, I didn't find a solution and forced to use the old version of TexnicCenter, where the problem does not happen. I also have no intention to deeply study numerous features of TexnicCenter. I need it only as a tool for writing my article, no more. I have too much things to study besides that.
I didn't quite understand your advice, and would be very grateful if you can clarify it in some simple terms.
Regards,
Ilia.
- Stefan Kottwitz
- Site Admin
- Posts: 10361
- Joined: Mon Mar 10, 2008 9:44 pm
TexnicCenter 2.02 64bit shows Russian text as garbage
Text files have a certain encoding. It it like matching numbers to characters. No issue usually with normal characters A ... Z and a... z, but for special characters like ä, ü, and ö. The input encoding can differ between operating systems (Windows, Mac, Unix) and between editors. Modern editors and systems use UTF-8, oder Windows editors may use
latin1
or ansinew
or cp-1252
or such. Maybe you would find such a setting in your editor configuration.Well, especially Russian characters need a certain encoding. If you would update the editor, I would check the input encoding settings (don't know where it is in TeXnicCenter) and configure the very same settings in the new version too.
But as you said, the TeXnicCenter editor is a tool for writing. No need to make a science of it.

Stefan
TexnicCenter 2.02 64bit shows Russian text as garbage
Yes, my article starts with two commands
Code: Select all
\usepackage[cp1251]{inputenc}
\usepackage[T2A]{fontenc}
Tools/Options/Text Format/Choose Font/Script=Cyrillic,
but it does not work in the new version.
Ilia.
- Stefan Kottwitz
- Site Admin
- Posts: 10361
- Joined: Mon Mar 10, 2008 9:44 pm
TexnicCenter 2.02 64bit shows Russian text as garbage
Just a remark, encoding of files can be changed, such as with the
iconv
tool. Easy on Linux and Mac, but I don't know how tu run it on Windows. On my system I would call it asiconv -f cp1251 -t utf8 filename.tex >newfilename.tex
and have it in modern UTF-8. Also this, take it as a remark, maybe it's not worth the effort.
Btw. I used to write cyrillic like this:
Code: Select all
\documentclass{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
\begin{document}
Это вводный абзац.
Это формула:
\[
y = x^2 + 1
\]
\end{document}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm