Questions tagged [input-encodings]

{input-encodings} is about the various input code pages like latin1 or utf-8 ({unicode}) which interpret the sequence of numbers underlying text files and map each number to a certain glyph (character). A popular package for pdfLaTeX is inputenc.

Filter by
Sorted by
Tagged with
6
votes
2answers
664 views

my french é is being shown as a weird Ãl’

I'm writing a Dutch / French document, so I defined \usepackage[dutch,french,british]{babel} in my headers, but my french é is being shown as a weird Ãl’. I tried changing the encoding in ...
9
votes
1answer
7k views

Problem copying text from pdf - spaces being stripped

I have the following minimal working example: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} é canção \end{document} I need to use the utf8 argument ...
1
vote
1answer
545 views

Problems with error message when using listings-package and inputenc.

I want to include the code of some script in my LaTeX document. In a "minimal" example, it works perfectly well - but only if I leave out the line \usepackage[latin1]{inputenc}: \documentclass[]{...
15
votes
4answers
4k views

Using package minted with non-english characters

I would like to use LaTeX package minted to colorize my c and Cuda code. I need to write comments in the code in czech. I use package inputenc with utf-8 and czech characters (ěščřžýáíé) work good in ...
38
votes
8answers
28k views

How do I change the encoding of my files?

Back in the old days, before I left the hallowed shores of my native country, I didn't much care what encoding my files were in. ASCII was enough for my great-great grandfather so it was enough for ...
3
votes
1answer
413 views

Inputenc: utf8 characters in cross-references

I am using the hack given here as accepted solution to refer to a description list item by name instead of number. It works nicely, except when one of the words in the name ends with a non-ascii ...
194
votes
6answers
167k views

utf8x vs. utf8 (inputenc)

I normally use \usepackage[utf8]{inputenc} for my latex document but on this site i saw a lot of code with \usepackage[utf8x]{inputenc}. What are the differences between the 2 options ? Is there one ...
27
votes
3answers
4k views

Using non ASCII characters in author names and titles within hyperref pdfinfo

I am trying to generate a PDF file (using pdflatex) with hyperref references; both the title and author should be visible as pdf properties, and both contain accents or non us-ASCII. The rest of the ...
32
votes
7answers
5k views

LaTeX baffled by BOM---Unicode's byte order mark.

Unicode applies the convention of using a byte order mark as signature at the beginning of a text stream, identifying the encoding used within it. The following three bytes at the beginning of a file: ...
11
votes
2answers
8k views

German Umlauts in BibTeX

I have the following BibTeX source @INPROCEEDINGS{Lincke2008, author = {Rüdiger Lincke and Jonas Lundberg and Welf Löwe}, title = {Comparing software metrics tools.}, booktitle = {ISSTA}, ...
8
votes
3answers
787 views

\edef containing utf8 umlaut characters

Is it somehow possible to have utf8 characters (e.g. german umlauts) inside \edef ? The following example document behaves fine if the umlaut is given directly as argument like \convertTest{Müller}. ...
10
votes
5answers
7k views

No simple UTF8 support in latex?

The following should look good in your browser, AND compile in Latex looking beautiful right? \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} UTF-8 test: \begin{verbatim} logic: ...
47
votes
4answers
5k views

What is the difference between font encoding and input encoding?

From list of obsolete packages and classes we must avoid, I found 2 terminologies, i.e., font-encoding and input-encoding. What is the difference between them?
4
votes
2answers
3k views

LaTeX: UTF8 and algorithm2e clash

I have this input file in utf8 encoding: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{algorithm2e} \begin{document} \begin{procedure} foo \caption{ö()} \end{procedure} \end{...
6
votes
2answers
1k views

Specify -job-name option to pdflatex with special characters

I'm working on a python script that will compile a series of latex documents according to a work list. Basically, the script reads the file name and title of a document, adds a couple of things that ...
7
votes
3answers
3k views

Problem with special characters in .toc files

I have an odd problem with special characters (in this case the Swedish åäö), that pops up in my .toc file. If I remove the .toc file everything works OK except I get an empty table of contents. When ...
14
votes
1answer
22k views

Problem with foreign characters

I am writing a report in LaTeX from a LaTeX template given in my university. The text is in English but I need to have some Swedish characters there was well like ä, ö, å etc. Now the problem is that ...
8
votes
2answers
2k views

Using non-ASCII characters in packages

What is the best way to use non-ASCII (say, Cyrillic) characters in a .sty file? If it's used in a LaTeX file that uses \inputenc[utf8]{inputenc}, than one can just use utf8 encoding in the .sty file ...
22
votes
8answers
48k views

utf8 or latin1 encoding – German

\usepackage[utf8]{inputenc} or \usepackage[latin1]{inputenc} I write in German if that matters. Pro and contra?