Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
1
vote
5answers
616 views

Why use both fontenc and inputenc in the same document? [duplicate]

What's the point of using both fontenc and inputenc in the same preamble? Why would anyone want to specify an input encoding (with inputenc) and an output encoding (with fontenc) that don't coincide? ...
0
votes
1answer
4k views

Package inputenc Error: Keyboard character used is undefined

I am using Lyx. I want my text to appear as Strategist's instead of Strategistâs. Please help. These I include in the LAtex Preamble under documents settings \input{LyXPreamble} \usepackage[T1]{...
7
votes
2answers
298 views

Custom glyph is not displayed properly

Recently I got the request to write a dissertation on the topic of quantum diagrammatic algebra. It was a fun LaTeX challenge as well, as there were plethora of custom glyphs I had to define in order ...
1
vote
2answers
254 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
1answer
115 views

Unicode characters are not being rendered anymore, what happened? [closed]

I used to be able to render Unicode characters without any issues in LaTeX. However, since a couple days (I noticed) TeXstudio is not rendering them anymore... If I use: \documentclass[10pt,a4paper]{...
0
votes
0answers
480 views

Getting german “umlaut” written correctly

I guess this question has already been asked. but I just can't solved. I have a template in which I need to write in german. and I don't get the "Umlauts". hier are the package that I'm used: \...
1
vote
0answers
285 views

Error in LyX when including ≥ symbol: Unicode char \u8:≥ not set up for use with LaTeX

I know many questions already relate to this problem in LaTeX. However, I'm using LyX classicthesis and included the character ≥ by Insert > special character > symbol, and got this error Unicode char ...
3
votes
1answer
637 views

Why does utf8x with inputenc change the micro symbol µ to greek mu?

I haven't informed myself a lot about the utf8x option of the inputenc package, other than it seems it should be avoided. Still, I've come across a weird behaviour with a directly-input micro symbol (...
2
votes
2answers
709 views

\lmoustache and \rmoustache manifesting as weird cropped “tails”

I was just working on my LaTeX skills so I don't forget, so I went on this site and started replicating the most complex stuff I found. At first I thought it would be a piece of cake, but then I wrote ...
2
votes
3answers
204 views

Strange signs after "

i get some strange effects after a " sign in my latex document. Here is my \usepackage section: \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{ulem} \...
3
votes
2answers
213 views

How to have this Latvian letter “s” with top “nose”?

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
205 views

Can the babel and inputenc packages be used with plain tex?

More particularly, can this latex document be converted to plain tex? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[main=british,polutonikogreek]{babel} \begin{document} {\...
0
votes
1answer
10k views

How to handle german umlauts (ä,ö,ü)

I just have installed MacTex on my iMac and I have downloaded a template from my university. When I open a tex file from this template with TeXShop, there are german umlauts, but they are shown as "ö"...
1
vote
1answer
238 views

Incompatibility between apostrophe ’ and utf8

The code below only works without the utf8 option of the inputenc package or by removing the apostrophe from M’ and N’, \documentclass[a4paper, 12pt, twoside]{book} \usepackage[brazil]{babel} \...
2
votes
1answer
184 views

Comment Package: Problem when using German Special Character “ß” (Similar to “ss”) [duplicate]

I am preparing a bilingual document and using the comment package to distinguish between the two languages. When I use the special character ß in a comment environment then I get an error message (...
3
votes
1answer
382 views

Using inputs both in utf8 and latin1

Issue I am writing a document in utf8 but I have to include some files encoded in ISO-8859 which are crashing my build. Indeed, I am using [utf8]{inputenc} which works great for all my files but does ...
0
votes
1answer
188 views

System encoding in TexStudio 2.8

When recently updated my texstudio to v2.8, it turns out that the option of "system" encoding (i.e. system's native ASCII configuration) isn't one of the options when choosing an encoding. Assuming I'...
2
votes
2answers
354 views

Problem with encoding of inserted .m-file

Sorry for an ugly post, it's my first one & I have very little time. I have this tiny document on overleaf: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[polish]{babel} \...
4
votes
2answers
6k views

Option clash for package inputenc when using Lyx with LaTeX class that already uses inputenc

I use Lyx to edit document whose class declares \usepackage[latin2]{inputenc} in its .cls file. While I only use languages for which Lyx uses the same encoding it only adds the same command (\...
0
votes
1answer
95 views

LaTeX packages do not affect bibliography file

Sorry if this is an already answered question, but I searched for hours through the Internet without success. It seems like the packages used in my main.tex file do not affect my .bib file, in fact I ...
1
vote
0answers
26 views

Junk character appended to code using lstinputlisting [duplicate]

Trying to learn LaTeX, I'm using a very simple document to see if I can import C# code using the listings package. I've installed MikTex, and made sure it's up to date, and I'm using pdfLateX. The ...
1
vote
0answers
456 views

Package inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX. \include [duplicate]

I am not sure I understand the error, but it somehow appears when I \printbibliography I am using biber, and don't see anything wrong with my entries.. @online{human_freq_range, author = {...
4
votes
1answer
323 views

easylist and \usepackage[utf8]{inputenc}

With the following MWE: \documentclass{article} % \usepackage[utf8]{inputenc} \usepackage{easylist} \begin{document} \begin{easylist}[enumerate] § A first item §§ A sub item §§ another ...
4
votes
1answer
204 views

Is there any TeX (or LaTeX) package capable of rot13-encoding an ASCII text?

This might be a nice thing to obfuscate answers to quizzes (better than \rotatebox[c]{180}{...}). (I understand that this is trivial using LuaTeX, but I'd be interested in a generic TeX solution. ...
8
votes
1answer
779 views

issues with undefined(inputenc)

I have problem with code - \RequirePackage[utf8]{inputenc} in my class, i am sure, that this file is fully written in utf8, i tried to convert in multiple way, so it must be in utf8. But still same ...
10
votes
1answer
2k views

Interpreting unicode ², ³, etc… characters in math mode

Short question: Is there some font encoding or other trick that would allow the unicode character ² (exponent 2) to be correctly interpreted by LaTeX, notably in math mode (i.e. translate it ...
9
votes
2answers
578 views

How to put an acute on an i using Biber: issues with “\'{\i}”

I use some packages with require utf8. Here is the main file: \documentclass[a4paper,titlepage]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[american]{babel} \usepackage{...
0
votes
0answers
1k views

Package Inputenc Error: Unicode char \u8: not set up for use with LaTeX

I am writing my thesis using MiXTeX 2.9 and Winedt 10 as my editor. I use biblatex with Biber as backend. I have created a main file, "thesis", from which I load individual chapters using the \input ...
4
votes
2answers
3k 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
882 views

Package inputenc Error in listings

If I put texts containing French characters outside of \begin{lstlisting}...\end{lstlisting}, it works. For instance, \documentclass[twoside,12pt]{article} \usepackage[utf8]{inputenc} % for source ...
3
votes
1answer
10k views

How do you resolve the error in LaTeX: Option clash for package inputenc. \usepackage?

This is my document \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amsopn} \usepackage[utf8]{inputenc} \usepackage[ngerman] {...
5
votes
1answer
2k views

Problem with LaTeX (missing $ inserted)

These are the first lines of my TeX document: \documentclass{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[catalan]{babel} \usepackage{graphicx} \title{Treball} \...
4
votes
1answer
5k views

Latex error: Option clash for package inputenc

I tried to cut all the unnecessary text and it all boils down to this: the following file does compile if I comment the \usepackage[mac]{inputenc} line. \documentclass{frontiersSCNS} \def\journal{...
0
votes
1answer
112 views

Caporali quotes without change font

I've to cite an expression in my text and I would use caporali quotes. Like this: I've tried using \usepackage[T1]{fontenc} but this change my font and I don't like it. How can I use caporali ...
0
votes
2answers
99 views

How to detect the range of possible character codes?

Please forgive me if this question is too basic for this forum. I came into touch with TeX three weeks ago. I learned that there are different TeX engines. E.g., there are TeX, eTeX, pdfTeX, pdfeTeX, ...
1
vote
0answers
111 views

utf-8 input characters in plain TeX [duplicate]

I would like to use special characters as the german umlaute ä, ö, ü, etc. (also ß) in the source file in plain TeX as I may use them in LaTeX using \usepackage[utf8]{inputenc}. The use of \input ...
1
vote
1answer
98 views

Conflict between packages utf8 and cite

I'm trying to write a project to my qualify exam and when I use the packages utf8 and cite to group references ([1,2,3]->[1-3]), it appears the follow message in the log file - ! Package inputenc ...
2
votes
1answer
248 views

xelatex not showing Russian characters in lslisting

I am trying to typeset the source code of a Perl program, containing Russian characters. As far as I learned --- pdflatex is not able to process non-ascii characters in lslisting. So I took xelatex ...
1
vote
1answer
66 views

Outputting any Unicode text (not just specific languages)

My software uses pdflatex to generate PDF files that include text entered by users. This text can be in any language, so I need something like the following to "just work" with any arbitrary Unicode ...
1
vote
1answer
64 views

How to specify custom symbol encoding

I don't know how to properly ask this question nor if the term encoding is appropriate for this issue, so I'll start with an example. Say I define a new command \R for the set of real numbers as ...
0
votes
1answer
274 views

inputenc does not works with \csvautotabular

I have to download csv into tex document. I use \csvautotable and this function works, but when I try to use not english and include inputenc and babel, it does not works. I must download data only ...
1
vote
0answers
375 views

Package inputenc Error: Keyboard character used is undefined (inputenc) in inputencoding 'UTF-8' [closed]

I have document in Latex. Every compile worked without errors. But now, I reinstalled my Windows 10, and the same document not working. I didn't change anything on document and now I have these Errors ...
3
votes
1answer
99 views

multi lingual documents in ConTeXt

I would like to produce a document (a short article) in ConTeXt which is mainly written in Greek. The problem is that I cannot produce the greek characters. I don't know if I need to define a font ...
1
vote
1answer
2k views

Available Characters with iso-8859-1

\documentclass[]{article} \usepackage[iso-8859-1]{inputenx} \usepackage[T1]{fontenc} \begin{document} ¡ £ § © ª « ¬ ® \end{document} I was wondering. When I typeset a document using the ...
3
votes
2answers
2k views

Problem with accented characters in ClassicThesis template

I've just downloaded the template for ClassicThesis in CTAN and I was trying to use it writing some spanish text. I've only changed the title and name of the document (in the classicthesis-config.tex ...
3
votes
3answers
4k views

encoding problem

I'm trying to write a program in Python that exports data into PDF. Unfortunately, the well known reportlab module is not available on Python 3. (What a shame.) So I have decided to generate TEX files ...
8
votes
2answers
18k views

how to solve a Unicode char' (U+301) error?

I have a problem within ShareLaTex. I copied a reference from biblatex and pasted it into my bib file and the ignored command is author={Ran{\v{n}}ik, Jk{\v{r}}{\n}́} which should generate I get ...
4
votes
1answer
163 views

hieroglf vs T1 fontenc

Consider the following MWE (which works) \documentclass[a4paper]{article} % works \usepackage[OT1]{fontenc} % fails %\usepackage[T1]{fontenc} \usepackage{hieroglf} \begin{document} \translitpmhg{\HC} ...
0
votes
1answer
306 views

Package inputenc Error

I use a package to right Latex code on Latex, but when I used special caracters I got this error Package inputenc Error: Unicode char ... this is a sample of code \documentclass[12pt,a4paper,...
1
vote
1answer
642 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. ...