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

2
votes
1answer
24 views

Figcaps and special characters

I'm trying to use the figcaps package in an article to keep all figures at the end of the document. When I compile the following TeX code using pdflatex I get the following error message: ! Package ...
1
vote
0answers
41 views

Encoding Messed Up File

I wish I knew how this happened. Using Texshop, under Preferences, encoding is UTF-8. File contains the following lines in the preamble: \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} When ...
2
votes
1answer
40 views

Type accented letters directly in tex file, not working

I would like to type accented letters directly in my tex file, and I would like them to be displayed correctly in the output. Neither of the solutions that I found online with inputenc / fontenc work. ...
1
vote
0answers
27 views

inputenc Error: Unicode char \u8: not set up for use with LaTeX with G-Brief

Good morning everybody, I've used the following file serveral times to create letters. I've never had any issues. But now, out of the sudden, I am getting the following error for each German letter (...
2
votes
0answers
31 views

Encoding problem with accents and inputenc package

I have this problem, it seems i'm doing something wrong while writing letters with accents like "è", on that line the compiler says: package inputenc Error: unicode char \u8:èun not set up for use. ...
1
vote
2answers
56 views

Using \c{e} and other special characters in .bib files with pdflatex+biblatex+biber: How to avoid Package inputenc Error?

I use Mendeley to manage my bibliography and have it automatically update .bib files. Unfortunately, this often leads to the "Package inputenc Error" when compiling. I narrowed my problem down to ...
0
votes
1answer
30 views

Why does applemac inputenc not work anymore for umlauts?

In order to type umlauts in latex (with Texshop) like e.g. 'ä' I used to be able to just add \usepackage[applemac]{inputenc} at the beginning of my .tex file and I'd be able to compile umlauts. ...
0
votes
0answers
24 views

Strange First Page Generated by \usepackage[utf8]{inputenc}

I started learning LaTex ca 1 year ago at sharelatex.com. There it was said that the package \usepackage[utf8]{inputenc} should always be included in your document preamble if unsure. However, I have ...
2
votes
1answer
14 views

Special characters in a lstlisting

I'm trying to paste my SQL code but my spaces are being interpreted as special chars and I get a weird character between words. Here's my code: \begin{lstlisting}[ language=SQL, ...
10
votes
2answers
597 views

Why this UTF-8 error is solved with a simple \clearpage

An example is shown below, which also includes a description of the problem: \documentclass{book} \usepackage{CJKutf8} \begin{document} \begin{CJK*}{UTF8}{gbsn} Some Chinese text. 一些中文 \section{...
0
votes
1answer
66 views

Package inputenc Error: Unicode char - {U+2010)

I am encountering the following error and have no idea where to find the solution; Package inputenc Error: Unicode char ‐ (U+2010) (inputenc) not set up for use with LaTeX. See the ...
0
votes
0answers
36 views

Importing phonetic characters from a .txt file fails with inputenc

I'm trying to import a dictionary I made in Toolbox (90's linguists software). I currently have the dictionary in a .txt file that LaTeX should be able to reproduce with a style file. In the .txt ...
0
votes
0answers
19 views

Package inputenc error by using bibtex

I'm using Texmaker to write my thesis. When I compile without the bibfile everything is ok but when the bibtex instructions are added, with the \cite format in the correct way it only shows the ...
2
votes
1answer
28 views

Problem with Icelandic characters in Beamer

I am doing a Beamer presentation based on an article, so I do a lot of copy and paste from one document to another. Basically everything is working fine, but for some reason, the Icelandic special ...
1
vote
1answer
106 views

why neither \bf nor \textbf works in this?

I have used \bf, \bfseries and \textbf for some particular texts in my answer sheet yet I am unable to detect what makes these fail to work in this document. Could you help to find it? \...
0
votes
0answers
31 views

How to add a UTF8 arabic or farsi symbol to Texlive?

the following MWE gives a error \documentclass{article} \usepackage{etex} %\usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[LFE,LAE,OT1]{fontenc} \usepackage[farsi,arabic]{babel} \...
0
votes
1answer
27 views

inputenc error with romanian diacritics [closed]

I am using this packages to write with Romanian diacritics: \usepackage[T1]{fontenc} \usepackage{ucs} \usepackage[utf8]{inputenc} \usepackage[romanian]{babel} The problem is that it worked before ...
2
votes
2answers
68 views

What about \cyrdash in EU1 and EU2 encodings?

cyrdash is defined in T2A, T2B, T2C and some other legacy encodings but seems to escape from EU1 (xetex) and EU2 (luatex) encodings. cyrdash should, by idea, print something intermediate between \...
2
votes
0answers
79 views

Problems with french accents (again)

It has been two years since I have started using Latex (on a Mac), and up to now I have written my text without worrying about the possible output (as if it was a WYSIWYG), and at the moment of ...
5
votes
1answer
72 views

\input a file whose name contains accented letters

When I use LaTeX in a Windows system I can easily use the \input command with a file whose name contains accented letters, but in a Linux system I get the message ! LaTeX Error: File `Préambule....
0
votes
1answer
28 views

Only the main part of the document has the right encoding

Been having this problem for a bit and haven't been able to short it out whatever I do. I'm writing my thesis in LaTeX which is writen in Spanish, therefore it needs to have accentuation in some ...
2
votes
0answers
32 views

biblatex and special character \'{\i} [duplicate]

I want to cite an article from a spanish author having the character í in his name. MWE: \documentclass{scrreprt} \usepackage[utf8]{inputenc} \usepackage{filecontents} \begin{filecontents}{bib1.bib} @...
1
vote
2answers
135 views

listingsutf8's option inputencoding=utf8/latin1 leads to latin1.def to be read each time a listing is used

Edit: inputencoding=latin1 option initially written should have been inputencoding=utf8/latin1 If the listingsutf8's option inputencoding=utf8/latin1 leads to latin1.def file to be read each time a ...
2
votes
1answer
36 views

§ compatibility between xelatex/lualatex+{fontspec} and pdflatex+[utf8]{inputenc}

I'm having trouble with some macros and the § symbol. I can get things working with xelatex/lualatex, but not with pdflatex. Here's my code: \documentclass{article} \usepackage{fontspec} % <- ...
3
votes
1answer
31 views

Input difficulties with \usepackage{devanagari}

I am using the standard miktex package \usepackage{devanagari} however, using the same input examples as written in the file manual produces very different results, i.e. there is a duplication of ...
1
vote
0answers
159 views

Problem with input encoding (?) after MiKTeX update

I ran MiKTeX's update utility today and received >150 updates -- most of them related to the MiKTeX base. Now that I did that, I am not able anymore to compile my TeX document using TeXnicCenter. The ...
0
votes
0answers
29 views

A section of my document doesn't process spanish accentuation

So I have the following problem, one of the section of my document does not use the right encoding or something like that as it doesn't add the accentuation which is characteristic in the spanish ...
2
votes
0answers
54 views

Which encoding used in LaTeX sources to convert PDF file accents to the doc format correctly?

I have the following configuration file in my LaTeX source: % !TEX encoding = UTF-8 Unicode \documentclass[a4paper,12pt]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{...
2
votes
1answer
96 views

European Accents not showing correctly [duplicate]

When i type " é " directly with the appointed key, or use a key combination of "´ + e" (where I press the ´ first, the character doesn't show up, and then I pres e and the accent appears) it doesn't ...
1
vote
0answers
30 views

inputenc and bibliography [duplicate]

I have this document, with problems building my bibliography \documentclass[12pt, letterpaper]{article} \usepackage[english, spanish]{babel} %\usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
16
votes
2answers
1k views

How to write a letter “ģ”

In my language we use the letter "ģ" representing LATIN SMALL LET­TER G WITH CEDILLA with code U+0123. How can I write it with pure latex? Solution Ok I got what I wanted, thanks to WriteLatex utf-8 ...
7
votes
3answers
950 views

Why does inputenc abandon so quickly under “utf8 based engines”?

Why do I need to do the extra work starting with \ifdefined in order to get my French guillemets correct in the pdf output, when using xelatex with a source specifying the use of T1-encoded fonts ? \...
3
votes
1answer
49 views

Will I get trouble if I use packages with different encodings?

Will I get trouble if I use packages with different encodings? I'm using TeXShop, with a package in Western (ISO Latin 9), but the template file I am using with it is in Western (Mac OS Roman). (...
3
votes
1answer
247 views

Which encoding should I use with TeXShop on a Mac?

TeXShop seems to default to 'Western (ISO Latin 9)', but a template I've been using is defaulting to 'Western (Mac OS Roman)'. I'm using a package Which encoding should I use with TeXShop on a Mac? ...
1
vote
0answers
65 views

Texmaker and Polish template

I have downloaded the template for our diploma from my university website Zip file here. The problem is I cannot compile it on my PC (Win 7) with MiKTeX and Texmaker. Funny thing is I did compile it ...
0
votes
1answer
56 views

How to enable unicode within comment section? (package “comment”) [duplicate]

In following MWE, letters with an accent that are within the personalized comment environment are generating following errors while compiling with pdflatex: ! Package inputenc Error: Unicode char �...
7
votes
1answer
468 views

How to get Unicode characters U+2713 and U+2717 to display in pdfLaTeX?

My document has \usepackage[utf8]{inputenc} in its preamble. I am trying to use the characters U+2713 (check mark) and U+2717 (ballot X), but I get the error: ! Package inputenc Error: Unicode char \...
1
vote
0answers
62 views

Keyboard character used is undefined

My reference list include letters from different languages, such as á, ö, 第. I get ! Package inputenc Error: Keyboard character used is undefined EDIT [Copied from deleted answer by cfr as ...
1
vote
0answers
29 views

Loss of data during encoding [closed]

During encoding switching for greek fonts (utf-8 iso 8859-7) my .tex file changed. Is there any way to recover? This is a part of it: \Description{\MarginText{Ξ?ΟολογιΟΟΞΉΞΊΞ¬}{\justifying ΞΞΌΟΞ΅...
0
votes
0answers
16 views

Why must I use the latin2 encoding for Hungarian? [duplicate]

I'm writing a UTF-8-encoded English document that contains a substantial amount of text in Hungarian (and a few other languages). When I try to load the Hungarian language patterns in babel using ...
3
votes
2answers
144 views

What input encoding do I have to choose if I have an 'ɛ' in a reference title?

I'm trying to cite this paper in my assignment using bibtex. It has an 'ɛ' in the title and this does not get represented correctly in my pdf. Umlauts, which I also have, are not a problem. So far I'...
1
vote
2answers
171 views

Encoding problem when generating umlaut code from batch [closed]

This is my setting. I have a main tex-file: % TextTest.tex \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} % in order to be able to write åäö. \input{name.tex} \begin{document} ...
0
votes
2answers
140 views

Latin1, utf8 with Texmaker

I state that I have read many discussions about my problem but have not yet managed to solve. I 'the first time I use LaTeX and as editor I chose Texmaker. I'm writing on Windows 7 64bit. I created a ...
4
votes
0answers
64 views

When and why should I use % !Mode:: “TeX:UTF-8” directive?

I often see the following lines are included at the beginning of the tex files: % !TEX TS-program = xelatex % !TEX encoding = UTF-8 Unicode % !Mode:: "TeX:UTF-8" Directives started with % !TEX are ...
3
votes
0answers
35 views

Unrecognized special character with comment package [duplicate]

Why are the character with accent not recognized ? \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage{comment} \...
2
votes
1answer
173 views

Special characters doesn't work with \usepackage[utf8]{inputenc}

I have a problem with LaTeX on my mac. This is my code: \documentclass[a4paper, 12pt, norsk]{article} \usepackage[norsk]{babel} \usepackage[utf8]{inputenc} \title{Syrehydrolyse av polysakkarider og ...
1
vote
0answers
60 views

Accessing Characters with pdfTeX

My goal. I want to use pdfTeX to access characters that appear in the fonts I am using, beyond the ones I can type with 7-bit ASCII text characters. For example: copyright symbol ellipsis accented ...
12
votes
1answer
270 views

Do you teach LaTeX? How do you fight with encoding problems?

Let's suppose your language is not English but another European language with Latin alphabet that uses special characters like á, ç, ñ, etc. Now, let's suppose you want to prepare some documents, ...
1
vote
1answer
85 views

how we can use Indian rupee symbol in Miktex

I am using Miktex and texstudio to typeset. I have to use this indian rupee symbol in tex file.. But I could not use that in my texstudio. How to I use it. What I am Using?? I am using Windows 8.1 ...
0
votes
0answers
18 views

Encoding with cyrillic

I really need your help here. Turns out, all of my files were in, ahem, wrong encoding (Texmaker manages to open it - but that's it, no compilation). It is somehow similar to cp1251, though not quite, ...