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
1answer
29 views

Converting data to utf8 in a write

I need to \write (or to \iow_now:Nn) a file containing utf8-encoded text, from a LaTeX file in an encoding that is not necessarily utf8 (for context: one typical use of this is to collect metadata ...
1
vote
2answers
37 views

Package gmutils gives an error

For a standard package gmutils, this minimal example: \documentclass{article} \usepackage{gmutils} \begin{document} That's all! \end{document} gives an error: ! Undefined control sequence. \...
0
votes
1answer
48 views

TeXShop loses "umlauts" in .tex files

I moved all my files to an external hard drive, then updated my Mac OS to Big Sur (that went awry so I had to erase the hard drive and set it up from scratch). Now I moved all files back to the Mac ...
0
votes
0answers
36 views

Do I need utf8 inputenc when I am already using T1 fontenc? [duplicate]

For German texts I use T1 fontenc so that the search option in my pdf preview can also find the umlauts. When I count the number of words using TeXcount, it tells me that the text is encoded in utf8. ...
0
votes
2answers
26 views

How to have Polish characters and not affect language of table of contents, etc

I am trying to add some Polish characters as part of an acknowledgement section (I am using Texmaker). I have tried using \usepackage[T1]{fontenc} and \usepackage{polski} - the use of the T1 encoding ...
0
votes
1answer
68 views

Plain LuaTeX unicode letters with PiTeX

I'm trying to isolate fonts.ptxlua from pitex to access Open/True-Type fonts with the YaX interface. I can load the font correctly; however, as I tried to typeset some proofs, I found that now LuaTeX ...
1
vote
1answer
42 views

Non-ASCII escape characters

I'm using all ASCII characters in my code blocks, so I need to reach for non-ASCII ones for the escape characters. I expected Xetex to deal with this just fine; alas, it doesn't seem to be the case. \...
0
votes
1answer
61 views

Bottom square bracket (U+23B5)

I'm looking for how to add a bottom square bracket (looks like this: ⎵) in latex (Overleaf specifically although I don't believe it should be different?). According to Entering Unicode characters in ...
2
votes
2answers
89 views

How to get accented letters (ogonek) in a specific font?

I need to use a specific font (New Aster LT Standard), and I am running into issues with 2 characters in my text. One is the polish ogonek on the name "Dąbrówka", the other is an accented ...
0
votes
1answer
69 views

How to Latex without error text with emoji included? [duplicate]

I'm reading output from where users put their own input into a latex document. It appears as though the users can include emojis. So my question, what is then minimal needed so that the following MWE ...
5
votes
2answers
213 views

Typesetting unicode characters

I try to use unicode characters in tex source: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} ∀ \end{document} The universal quantifier does not typeset with xelatex. ...
1
vote
1answer
63 views

How to write a preamble for latex files (in French) shared between MacOS, Linux and Windows?

I'm in charge of a database of scientific exercises (>1000) written in french (UTF8 encoding) and sharing a single preamble. Those exercises can be edited and compiled (pdflatex) by various users ...
1
vote
0answers
22 views

Encoding of file from WinEdt to TexMaker

I have a TeX file that was created, edited and compiled by another person using WinEdt. I now want to keep writing on it using TexMaker, but when I open it with this new editor, these strange symbols ...
1
vote
1answer
113 views

How to solve the problem with accented letters?

I've imported a MATLAB code in my document by using the \lstinputlisting environment but I have the following errors about the accented letters: package inputenc error: invalid utf-8 byte sequence; ...
4
votes
1answer
39 views

UTF-8 Mu won't render inside custom environment

I just tried using this https://tex.stackexchange.com/a/83883/143861 for syntax highlighting Python in overleaf \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} % Default fixed font ...
0
votes
1answer
82 views

Inputenc error with apostrophe in bibliography

I am using LyX and am trying to import my references a BibLaTeX file. I am getting the following error when I try to compile: Package inputenc error: Keyboard character used is undefined. It then ...
1
vote
1answer
50 views

figure environment isn't compiling with babel and hebrew in pdflatex

I have a project that is written both in Hebrew and in English, which is compiled with pdfLatex on Overleaf. Since this compiler is not a Unicode engine, one has to declare the Hebrew letters ...
1
vote
1answer
37 views

Interpreting colouring set by console codes with minted

Is it possible to interpret console codes for colouring with minted? My current approach: Create a file containing console codes with $ printf "normal text\n\033[0;36mcyan text\033[0;0m\nnormal ...
2
votes
3answers
44 views

Uniform line height with tabularx-- possibly due to mix of Russian and English?

I have a table using tabularx: As you see, the line heights are not uniform. I would like every line to be the same height as the third row (inanimate | no change). I tried [1ex], and there is no ...
0
votes
0answers
161 views

! Package inputenc Error: Unicode character μ (U+03BC) (inputenc) not set up for use with LaTeX

I'm using rmarkdown to knit a pdf. I get this error. ! Package inputenc Error: Unicode character μ (U+03BC) (inputenc) not set up for use with LaTeX. Googling tells me it refers to ...
1
vote
2answers
208 views

Different rendering of µ (micro) and other unicode symbols when compiling with XeTeX

This is not a "how-to" question but rathe a "why" question. I'm working on re-writing a MS Word document in LaTeX to be compiled with XeTex. I noticed some symbols not showing, ...
0
votes
0answers
33 views

Conflict between utf8 and other packages

Whatever I do I receive this message (! Package inputenc Error: Invalid UTF-8 byte sequence) when I run livre.tex. I assume that livre.tex combined with .sty file doesn't like (Ôter) as a first word ...
0
votes
1answer
53 views

How to \input{} a tex file with unicode characters

I have a big table that containing the Unicode character "±". If I put this table on my main tex file, there is no problem. But when I put it in another tex file and try to \input{} it, then ...
5
votes
1answer
172 views

inputenc is no longer needed?

by mistake I noticed that my text (UTF-8 encoded, contains german special characters ä, ö, ü, ß) is compiled without errors although I forgot the inputenc (\usepackage[utf8]{inputenc}). Here is a ...
0
votes
1answer
161 views

How can I get both Greek and Unicode characters to render in a verbatim environment?

I am including some Julia code that uses Unicode characters, including Greek letters, in a verbatim environment. I've tried LaTeX, XeLaTeX, and LuaLaTeX (and am still open to using any of them), but ...
0
votes
4answers
164 views

The Czech accents ěščřžý are not showing in the output

I have the following MnWE, and it is non-working since after xelatex.exe it doesn't show the Czech letters with accents ěščřž, but it shows "á". So how do I type these accents no matter how ...
0
votes
0answers
54 views

Thesis V3.bbl: 72: Package inputenc Error: Invalid UTF-8 byte sequence

I am writing my thesis and the preamble looks as the following: \documentclass[11pt,a5paper,footinclude=true,headinclude=true]{scrbook} % KOMA-Script book \usepackage[utf8]{inputenc} \usepackage[T1]{...
3
votes
2answers
2k views

Package inputenc: Unicode character ≤ (U+2264) (inputenc) not set up for use with LaTeX - Error caused by unnoticed literal "≤"

When trying to build my LaTeX-file with latexmk in VS Code using Latex Workshop extension, the following error is thrown: Package inputenc: Unicode character ≤ (U+2264) (inputenc) not set up for use ...
0
votes
0answers
86 views

Use any unicode character in source with pdfLaTeX (without XeLaTeX or LuaLaTeX)

I'm writing a script that converts .md files into latex source code and compiles it to a .pdf. I've been using pdfLaTeX and would rather not refactor this late in the game. I want to be able to handle ...
0
votes
1answer
58 views

How to handle umlauts in file names with lualatex on Windows?

There are lots of questions about encoding in general, but none that I have found are related to umlauts in filenames. On Windows, LuaLaTeX cannot handle umlauts: PS> lualatex ümlaut.tex This is ...
0
votes
0answers
76 views

latexmk fails with Invalid UTF-8 byte sequence even though I already used multiple tools to convert file to utf-8!

I would like to use latexmk in Visual Studio Code with the LaTeX plugin but I am facing some issues regarding encoding: Package inputenc: Invalid UTF-8 byte "A4. Package inputenc: Invalid UTF-8 ...
3
votes
1answer
108 views

Trouble in biber with "ḥʼḤ"

I am facing issues with special characters in biber. Specifically, this is about "ʼ", "ḥ" and "Ḥ". These are used for Arabic transcription. I have tried rendering this ...
0
votes
0answers
96 views

UseRawInputEncoding and Norwegian letters

I'm currently writing a document in overleaf that has a lot of code implemented in the lstlisting environment. The problem with this is that it floods my log with "invalid utf-8 byte sequence ...
0
votes
1answer
159 views

How do I ensure UTF-8 input encoding?

According to the babel manual, after 2018, I do not need to explicitly load the inputenc package --- ``if the encoding is UTF-8''. So, how do I know which encoding my keyboard actually writes in? ...
0
votes
1answer
116 views

**LaTeX** insert Unicode Characters (relational Database chars)

I recently tried to insert the Characters for the relational Algebra (left/right (semi) join, ...) but failed up to now. I know that it is problematic with Unicode and ASCII encoding, but I thought ...
0
votes
0answers
18 views

Package Inputenc Error with morefloats package

Herewith package morefloats, I got the error message saying Package inputenc Error: Unicode character (inputenc) not set up for use with LaTeX. \usepackage{morefloats} I'm wondering if anyone can help ...
0
votes
0answers
15 views

Accented characters in mathematical mode [duplicate]

As you can see I am writing solutions for some high school students. I wanted to write speed "velocità" with the accent on the a using $\mathrm{velocità}$ instead of the classic $\text{...}$ ...
0
votes
1answer
63 views

What kind of encoding is root.tex from ieeeconf using?

I downloaded the IEEEconf document class (the ctan version seems to be several versions behind). I have problems to figure out the encoding of the file root.tex in the ieeeconf.zip file. All quotation ...
0
votes
0answers
71 views

Correct preamble with T1 font encoding

I am wondering if I have set up a correct preamble. In particular I must use T1 encoding, because I am writing in Portuguese. \documentclass[english,portuguese]{article} \usepackage[portuguese]{babel} ...
0
votes
1answer
97 views

svg package not rendering svg containing math

I have an svg file of an equation as follows <svg xmlns="http://www.w3.org/2000/svg" xmlns:wrs="http://www.wiris.com/xml/cvs-extension" height="29" width="85"...
0
votes
0answers
25 views

Package inputenc Error: Unicode char ñz\endcsname\@safe@activesfalse39 (U+C66)

I'm having the following error taking the first page of my latex document: Package inputenc Error: Unicode char ñz\endcsname@safe@activesfalse39 (U+C66) not set up for use with LaTeX See the inputenc ...
0
votes
1answer
73 views

Elsevier paper article class does not work with all ASCII-characters and package inputenc (Unicode char ³ (U+B3))

Umlauts like "ä, ö, ü" and diacritics like "á, ó ,.." cannot be displayed. The class elsarticle.cls can be downloaded here. When including \usepackage[utf8]{inputenc} in the ...
1
vote
0answers
114 views

Problems with encoding of .bbl file created by BibTeX for LuaLaTeX

I am trying to use BibTeX and LuaLaTeX. However, I get the error message File: project.bbl String contains an invalid utf-8 sequence for several bibliography entries that contain characters such as ...
2
votes
1answer
72 views

Problem with Latex encoding - Force Latex to accept character and ignore Errors?

I have somewhat of an unusual problem. I'm trying to write the quote There are three hard problems in computer science: 1) Converting from PDF, 2) Converting to PDF, and 3) O̳̳̳̳̳̳̳̳̳̳̳̳̳̳̳̳̳Ҙ҉҉҉ʹʹ҉...
4
votes
1answer
590 views

\DeclareUnicodeCharacter not working at all

The following code should be valid but doesn't compile at all. \documentclass{article} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{0052}{W} \begin{document} RRRR \end{document} and I get ...
2
votes
1answer
1k views

Package inputenc Error: Unicode char ̀ (U+300) (inputenc) not set up for use with LaTeX

I am struggling understanding how to solve this error: Package inputenc Error: Unicode char ̀ (U+300) (inputenc) not set up for use with LaTeX. I have seen this related question, but the problem ...
0
votes
1answer
74 views

Conflicts between usepackage {inputenc} and {fontenc} by BibLateX

In previous questions (see Special character \oe and BiblateX with XeLateX andProblem of compilation with XelateX (Package soul error), I presented my problem related to the taking into account of the ...
1
vote
1answer
334 views

inputenc Error: Unicode char ^^A (U+0001) not set up for use with LaTeX [closed]

I upgraded from an older Mac with High Sierra to a new Mac with Catalina and installed a fresh TeX Live package with TeXShop. Two of my old TeX files run fine, but the third is stalling even though I ...
3
votes
1answer
62 views

PdfLatex and UTF-16LE

Is there an option to process UTF-16LE file directly by pdflatex, without the conversion to UTF-8? And does xelatex have such an option?
0
votes
1answer
387 views

Chinese RMB symbol converted to dollar sign instead

MWE: \documentclass{article} \usepackage{ctex} \usepackage[table]{xcolor} \begin{document} ¥ \end{document} output: It only works with XeLaTeX. Doesn't even compile using Latex. Error message:...

1
2 3 4 5
13