{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.

learn more… | top users | synonyms (1)

7
votes
3answers
157 views

Why does “fi” render to 㐌 when I compile my Latex to SVG using dvisvgm?

I wanted to compile the following Latex \documentclass[preview]{standalone} \nonstopmode \begin{document} I want to write f i r s t but this is the result: first \end{document} to svg by using ...
0
votes
2answers
33 views

Enconding conversion from Mac to Linux and viceversa [on hold]

How could I use on Linux (utf-8) a previously created file on Mac using for example MacRoman as encoding and viceversa?
3
votes
4answers
123 views

Input encoding error after upgrading from Biber 1.9 to Biber 2.1

Under biber 2.1 my biblatex produces input encoding errors. The same procedures worked smoothly under biblatex 2.9a/biber 1.9, now that I upgraded to biblatex 3.0/biber 2.1 I get the following message ...
0
votes
0answers
38 views

Error with utf8

i have problem. My header look like this: \documentclass[a4paper,12pt]{article} \usepackage[polish,english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{times} ...
4
votes
2answers
345 views

ß becomes SS in bibliography with BibLaTeX/Biber and XeLaTeX

Background: I am using BibLaTeX, Biber and XeLaTeX to write a book that contains a bibliography. The bib-file is encoded as UTF-8 and contains "special" characters such as umlauts (ä, ö, ü) and sharp ...
3
votes
0answers
55 views

Advice for coding with excessive quantities of symbols, accents, and special characters

I am beginning a new project where I will be using far more special characters and accents than I ever have before. Given that this will not be in my native language (or a language I even speak) I am ...
4
votes
2answers
98 views

To input symbols with utf8 codes beyond the standard utf8 packet in Latex

I have input text for Latex with symbols like Ẃ ẃ Ẅ ẅ Ỳ ỳ and so on and must translate it into pdf. The task came from the whole work of export from Library of Congress catalog to prepare article in ...
1
vote
0answers
68 views

No pdf in Latex compilation even though the encoding is correct

EDIT 2: LINK TO DOWNLOAD THE tex FILE: http://www.mediafire.com/download/a2aaczrqzobv1q2/send.zip I have a .tex file whose preamble is this: EDIT: ...
0
votes
0answers
22 views

selection language doesn't work when activating french

I am trying to write an abstract in French in my manuscript. It is not the only page in French in my manuscript. But this page doesn't work well which I don't know why. This is added to the whole ...
16
votes
1answer
271 views

Unicode in PDF Metadata

There are several ways of setting PDF meta data when compiling LaTeX documents. The two most popular ways are arguably via pdfinfo, \pdfinfo{ /Author (Erwin Schrödinger) } and hyperref, ...
3
votes
1answer
51 views

Problems with encoding when inputting a TiKz picture

I'm having problems inputting a TikZ picture in a document that is encoded with UTF-8. The TikZ picture was generated with matlab2tikz. When I try to open the foo.tikz file with my editor ...
4
votes
2answers
51 views

inputenc, active catcode and \csnsame

with this MWE, with a non utf-8 engine (like pdflatex) \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} \expandafter\def\csname a\endcsname{toto} \expandafter\def\csname ...
1
vote
0answers
52 views

! Package inputenc Error: Keyboard character used is undefined

I'm new to Latex espacially Beamer, I am working on my Thesis presentation in French and these letters always give me a hard time since yesterday when I compile that error in the title occurs, I ...
4
votes
1answer
86 views

How can I insert the Apple Symbol ? [duplicate]

For my thesis, I want to mention that Apple Pay is often stylized as  Pay, but the compiler warns me that this is an unknown character. It outputs Ô£ø. I have found that this symbol is encoded as ...
2
votes
3answers
88 views

Enabling UTF-8 file encoding in various text editors [closed]

Many IDE / text editors used by latex community do not encode tex files into utf-8 by default. When trying to use diacritics, various issues may arise. Example code: \documentclass{article} ...
1
vote
1answer
52 views

Keeping beamer in English while supporting Chinese characters

\documentclass{beamer} \usepackage{ctex} \begin{document} \title{Test} \author{My name (我的名字)} \date{\today} \begin{frame} \titlepage \end{frame} \end{document} Here is the current output: ...
2
votes
1answer
48 views

Bibliography .bib encoding utf8 (french) accents

I am trying to use a bibliography for a my latex report. I am using a .bib file named bibli with articles written in french (so the titles have accents like é or ô). At the beginning of my .tex file I ...
2
votes
0answers
89 views

Greek writing in LaTeX [closed]

I have a problem using Texmaker when I am trying to write in Greek. The starting commands I use in my document are \usepackage[english,greek]{babel} \usepackage[iso-8859-7]{inputenc} but when it ...
0
votes
0answers
116 views

Texmaker and utf8

I recently switched from a Mac mini to a Macbook. Now, for some reason my document will only compile using \usepackage[applemac]{inputenc} but not with \usepackage[utf8]{inputenc} or ...
0
votes
0answers
55 views

Inputenc error: unicode char u8 - texstudio

I started write some TeX document, but I have problem with special characters (polish characters like (ś, ć, ę etc.). It's my error message package inputenc error: unicode char u8: not set up ...
0
votes
0answers
22 views

Which is the encoding of the default .xdy

in order to create my own system of group letter with xindy, I am looking to the default files. For examples the files xindy/modules/lang/french/utf8.xdy. But ... i am not able to know which is the ...
3
votes
0answers
72 views

Usepackage, babel,polish,french,germany

This is my first time in latex editor. I'm using texmaker + miktex 2.9 and i have problem with first document. I tried do something like this : \documentclass[a4paper,12pt]{article} ...
1
vote
0answers
13 views

\lstinputlisting with source file containing logic symbols [duplicate]

I have a source code file that I want to include in my LaTeX document with \lstinputlisting. However, this source file contains logic symbols like ∃ (it's encoded in UTF-8), which produce errors. I ...
5
votes
1answer
82 views

\inputencoding{latin1} cannot be used in the user documentation of a .dtx file if it is \DocInput

Third edit: (As pointed out by Ulrike, my problem in fact doesn't concern listingsutf8 but only inputenc, so I reflect this by giving to the question another title and another MWE.) The following MWE ...
4
votes
1answer
45 views

Inputenc error with some minus signs on a table

First of all, I'm new to writing in latex. So this might be a dumb question. I'm trying to do the following table: \documentclass[12pt, letterpaper, twoside]{book} \usepackage[utf8]{inputenc} ...
0
votes
0answers
57 views

inputenc -w- \scantokens \expandafter

Sorry to bother everyone again - this is a followup question to my earlier question: Can openout handle a filename with spaces? (I suppose I can combine this with the earlier question, but this ...
4
votes
1answer
124 views

To have this Latvian letter in Beamer

This discussion is an extension of this answer but in Beamer -documentclass and with XeLaTeX. I can get some variants working there in Pdflatex, see Christian's answer but with bad output and I do ...
1
vote
1answer
403 views

How to fix Package inputenc Error: “Unicode char \u8:� not set up for use with LaTeX.”?

I get following error when running pdflatex in TeXstudio: "Package inputenc Error: Unicode char \u8:� not set up for use with LaTeX. \end" on the last line of my document: \printbibliography ...
1
vote
1answer
72 views

How do I convert MathML characters to XML in texmath? [closed]

I'm in the process of converting LaTeX to MathML in PHP. texmath is the command line tool through which the conversion process can be done. Latex file: \mathbf{f} = (f_{1}, f_{2})^{\prime} ...
2
votes
1answer
52 views

Imported tex file doesn't encode

I started typing in a latex template provided by my school. Inside the document, when I use special characters such as accents or umlauts (e.g. ë) they encode just fine. When I use an external file ...
0
votes
1answer
81 views

How to save .bib file in latin1 encoding and avoid problems with special characters?

I have added a lot of new references to my .bib file, which I got from online portals like sciencedirect.com. I'm managing my .bib file with JabRef 2.10. My bib file was encoded in latin1 (CP1252), ...
2
votes
1answer
76 views

Why does bibencoding influence normal text outside bibliography? Character ß becomes SS in pdf file!

My .tex files use textencoding latin1. For some practical reason I wanted to switch my bibliography .bib files to UTF8. I tried that and (as the bibliography now was not typeset correctly) found the ...
3
votes
2answers
156 views

What is the best way to encode diacritical marks with the default input encoding?

Suppose, I want to write a word with diacritical marks, say fïbęj, and I cannot use Unicode or similar but instead I have to keep maximum compatibility for all sorts of situations. If I am not very ...
2
votes
1answer
89 views

Writing Unicode in pdfLatex [closed]

It should be something like \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{CJKutf8} \begin{document} \begin{CJK}{UTF8}{megafont} ...
4
votes
1answer
77 views

French characters

I am writing my PhD thesis but I have a problem in typing French characters: like "à" "é" "ç" etc. In the main page I have to use these two packages: \usepackage[latin1]{inputenc} ...
2
votes
1answer
98 views

Typeset colored terminal output using minted

I need to reproduce the output of a command in a LaTeX document. The command uses ANSI escape codes to produce colored output. I'd like to use minted, but using \inputminted{shell}{coloredoutput} ...
1
vote
0answers
65 views

What does this input encoding error mean?

! Package inputenc Error: Keyboard character used is undefined (inputenc) in inputencoding `utf8'. See the inputenc package documentation for explanation. Type H for ...
2
votes
0answers
100 views

Is \aa or å preferred?

This question is about all the non-ascii characters, å is only as an example. I know you can type the character å two ways: \usepackage[utf8]{inputenc} ... Some text with a speciål character. or ...
1
vote
1answer
218 views

Encoding for a .tex file created under Mac and opened under Windows

When I open a .tex file with Texmaker under Win8.1, that was created on a Mac using TexShop, I get the following error: It seems that this file cannot be correctly decoded with the default ...
6
votes
3answers
132 views

Typesetting modifier letter U+02ED

I'm creating an article on Ancient Greek pronunciation with IPA transcription in TeXworks. Ancient Greek distinguishes voiceless unaspirated, aspirated, and voiced stops, and I would like to ...
1
vote
0answers
48 views

How to type Cyrillique TeX source code?

I compose in Russian (Cyrillique). I've just dowloaded TexShop 3.48. When opened, all my old .tex files with Russian fonts, the text in main TexShop window is no more correct (encoding pb). The ...
4
votes
1answer
175 views

Using Swedish characters in Sublime Text 3/LaTeXTools/Skim workflow?

I’ve recently moved from TexShop to Sublime Text 3/LaTeXTools/Skim for my Latex work. Occasionally I typeset texts in Swedish including “å”, “ä”, “ö” etc characters. However, when I open such a ...
2
votes
1answer
43 views

hyphsubst conflicts with inputenc

If I load inputenc in combination with hyphsubst the hyphenation works partially. It works for many words, but it does not work for 'Starrkörpertransformationsparameter' if inputenc is loaded ...
4
votes
1answer
72 views

\v{d} does not work, czech letter with check

How do I type d with check? It should look something like Ť (small). Other letters like r or c do look like \v{c} or \v{r} but t and d are different when typing check over them. I use English ASCII ...
4
votes
1answer
76 views

How to automatically detect encoding of the tex-file?

I have a custom .sty-file in cp1251 encoding which is defines \RequirePackage[cp1251]{inputenc}. I use it for compile with pdflatex in the same encoding, But when I try to compile some file with other ...
2
votes
1answer
61 views

To work out Europecv's arbitrary use of utf8x

Egreg about arbitrary use of outfit but using truly utf8x The europecv class arbitrarily decided that utf8 is not a good option and uses utf8x even if the passed option is utf8, which is of ...
0
votes
1answer
156 views

File-encoding issues with \lstinputlisting

Matlab save .m file with ANSI encoding. I have a sample .m file, and want import it into LaTeX with UTF-8 encoding. How to convert ANSI file encoding to UTF-8 and input it, without changing the ...
1
vote
1answer
67 views

mmap/cmap problem: text in equations is not properly copy-pastable

\documentclass[12pt,a4paper]{article} \usepackage[noTeX]{mmap} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \begin{document} $(A\to B)\vdash B$ sample text ...
3
votes
1answer
73 views

UTF characters in listings

I use lstlistings for code and a lot of special characters can be displayed with literate. See my MWE \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
59 views

Inputenc error pgfplotsset

When I try to compile my code throw me an error between inputenc and pgfplots. I compile the following code: \documentclass[11pt]{article} \usepackage{amsmath} \usepackage[utf8]{inputenc} ...