Text FormattingGerman letters (umlauts) display as ? in TXC

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
steinchen
Posts: 21
Joined: Thu Oct 29, 2009 12:18 pm

German letters (umlauts) display as ? in TXC

Post by steinchen »

I have the latest version of TexnicCenter installed yesterday.

But if I copy&paste the section here, if displays correctly.

Code: Select all

\section{German Umlauts and other Language Specific 
Characters}\label{umlauts}
You can type German umlauts like 'ä', 'ö', or 'ü' directly in this file.
This is also true for other language specific characters like 'é', 'è' etc.
For the language pre-definition, I have:

Code: Select all

%% Language %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[american]{babel}
\usepackage{german}
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}

\usepackage{lmodern} %Type1-font for non-english texts and characters
------
Any hints appreciated!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

German letters (umlauts) display as ? in TXC

Post by localghost »

steinchen wrote:I have the latest version of TexnicCenter installed yesterday. [...]
The latest version of TeXnicCenter (TXC) is 2.0 alpha 1. I think you are speaking about the latest stable version 1.0 RC1. In opposite to the new one this older version doesn't support unicode. And obviously you opened a document that is encoded this way (UTF-8).

You can install both versions of TXC side by side on the same system. From my experience their aren't any major issues on Windows XP yet.


Best regards and welcome to the board
Thorsten¹
steinchen
Posts: 21
Joined: Thu Oct 29, 2009 12:18 pm

German letters (umlauts) display as ? in TXC

Post by steinchen »

Thanks, localghost for yourquick responding!

As you suggested, I just downloaded the alpha versionhttp://www.texniccenter.org/resources/d ... -installer installed side by side, but it turns: Runtime Error!

So I tried also uninstall both versions and reinstall the V2.0. Error is the same.

BTW: I am using windows XP sp3 EN.

I think I should not take too much time for the software itself than concentrating on my paper... so,

would you tell me where is a round about solution? or I should disregard this hints paragraph and return to ü = \"{u}? If so, what the package/definition needed?

Thanks in advance!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

German letters (umlauts) display as ? in TXC

Post by localghost »

steinchen wrote:[...]

I think I should not take too much time for the software itself than concentrating on my paper... so,

would you tell me where is a round about solution? or I should disregard this hints paragraph and return to ü = \"{u}? If so, what the package/definition needed? [...]
That's right. Stay with TXC 1.0 RC1 for the moment. It would help to know if you want to write a whole document in German or only parts. But you can try the following example in a new document.

Code: Select all

\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{selinput}
\SelectInputMappings{%
	adierisis={ä},
	germandbls={ß},
	Euro={€}
}
\usepackage[english,ngerman]{babel}  % bilingual document with German as default
\usepackage[
	includeheadfoot,
	margin=2cm
]{geometry}

\begin{document}
	Falsches Üben von Xylophonmusik quält jeden größeren Zwerg.
\end{document}
These are parts of my settings for a document in German language. Copy this into a newly generated file in TXC and start a compilation.
Post Reply