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
0
votes
1answer
62 views

Can't compile utf8 with xcookybooky

Since I've left for quite long time Latex, I am actually facing a compiling problem with utf8 inside xcookybooky package (V1.5). I am trying to type a simple recipe that I wrote in utf8 format. ...
1
vote
1answer
54 views

Umlaut not working in Windows

I'm fairly new to LaTeX and wanted to setup my Visual Studio Code to work with LaTeX. At the moment the compiler always throws an error when I am trying to compile a document with umlauts in it. I ...
0
votes
1answer
69 views

Draw Tikzpicture

I would like to draw the following picture using tikzpicture. Could you please help me? Thanks in advance. Regards, MSA
0
votes
0answers
37 views

Package inputenc Error: Invalid UTF-8 byte 160

I am using TeXstudio to compile my .tex file for writing a report. Unfortunately I get the error Package inputenc Error: Invalid UTF-8 byte 160 which is related to the .bib and .bbl files. Could ...
0
votes
0answers
24 views

Package inputenc Error: Unicode character ´ (U+00B4)(inputenc) not set up for use with LaTeX

I just started using LaTeX (with texstudio). I have never worked on LaTeX before. I faced this error and I don't know how to solve it. I tried to look at this website (tex.stackexchange). There are ...
0
votes
1answer
25 views

Minted using imported .m-files with å ä ö in code

Firstly, some hopefully useful information: Python version: 3.8.0 Pygments version 2.5.1 TexLive 2019 Texmaker 5.0.3 Build using PDFLaTeX (tried XeLaTeX and LuaLaTeX as well) Windows 10 (if that ...
4
votes
4answers
5k views

! Package inputenc Error: Unicode char ́ (U+301)(inputenc)

I get this error message, during compiling my .tex-document. line 234 - ! Package inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX.See the inputenc package documentation ...
0
votes
1answer
42 views

letters with accents gone

Today I used Dropbox to transfer all my tex-files from my computer to my new Laptop (same OS). In all the tex-files, my letters with accents (é, è, à, etc.) are gone and I get the error "Package ...
1
vote
1answer
22 views

PDF metadata from translations \GetTranslation produces incorrect chararcter encoding?

While coding my own class I use \GetTranslation from the translations package to allow using different languages and \hypersetup from hyperref to set PDF metadata. If I use \GetTranslation in the ...
3
votes
2answers
65 views

LaTeX 2e's verbatim-environment and different input-encodings

The inputenc-package provides means for selecting an input-encoding for subsequent tex-input. If I understand correctly, the verbatim-environment as of the LaTeX 2ε-kernel does change ...
0
votes
0answers
36 views

Input/output encoding for symbols in Latex for conversion to Microsoft Word using Pandoc

I am using Texmaker to produce .tex files that I want to convert into .docx files using Pandoc. I have some math symbols in the paragraphs of the document. My workaround was to use, for example, $\...
2
votes
1answer
97 views

Mystery sequence ïz£ in pdf

I get random copies of a sequence ïz£ (an "i" with the umlaut, a "z" with a dot sign over it, and a pounds sign) in my pdf. They seem to be generated by some of the figures, not all. Any suggestion?
0
votes
1answer
346 views

Unknown Unicode character 128 = U+0080

I am working on my PhD thesis and have a huge file to compile. In the package file, I included the following package and commented chapter by chapter but still, I get this error. I'll appreciate if ...
0
votes
1answer
26 views

inputenc, Sanskrit/Pali, transliteration and utf8 4-byte encoding

For a Dharma playing card project I created a database (charset utf8mb4) that stores (among other things) Pali/Sanskrit terms and their transliteration. The goal is to have an easy web interface to ...
0
votes
0answers
32 views

LuaLaTeX and Gnuplot (Cairolatex terminal): “Undefined control sequence. \inputencoding”

I recently went from pdflatex to lualatex. Quite happy so far except of one thing: I am unable to include Gnuplot graphs created using the cairolatex terminal (options "pdf input"). The error I get is ...
13
votes
1answer
348 views

Typesetting smileys in the input

I'm inputting a file into LaTeX (in verbatim mode) that contains a unicode smiley character, code 128512. I thought declaring \DeclareUnicodeCharacter{128512}{\smiley} would do the trick, but: ...
0
votes
0answers
37 views

trying to move back from polyglossia to babel

I am using XeLaTeX because Unicode. What am I doing wrong? I do not see the inputenc dependency (guess indirect?), and have no idea how to proceed: \documentclass[a4paper, twoside]{book} \usepackage[...
0
votes
0answers
39 views

Exporting doxygen to pdf using Latex - Package inputenc Error

I'm trying to generate a single pdf file out of doxygen documentation. I run doxygen and then in latex folder I run the make file. The making process runs for a moment and then halts with this ...
0
votes
0answers
25 views

Encoding issue : how to restore the original code

Opening a .tex file in any text editor (TexShop, Atom, ...) gives me the ugly %PDF-1.5 %ÐÔÅØ 3 0 obj << /Length 2988 /Filter /FlateDecode > stream xÚÍMwÛÆñî_[Á÷Lx¿ë=;Ø®ìŒ, Р...
2
votes
0answers
47 views

latexdiff encoding issue

I got the exact same problem as described here and here: umlauts are translated into strange characters; the output file does not compile the output file is UCS2-Little-Endian encoded (according to ...
0
votes
0answers
37 views

accents missing and inputenc package ignored when changing from pdfLatex to XeLaTeX

This is the error code that I get when changing from pdfLaTeX to XeLaTeX Package inputenc Warning: inputenc package ignored with utf8 based engines This is my preamble (it was from a template, ...
2
votes
0answers
34 views

Inputenc error with Swedish letter Å in .bib file

I am writing a scientific document using natbib for the bibliography. The .tex file and .bib file are UTF-8 encoded and I have \usepackage[utf8]{inputenc} in the preamble. One of my references has ...
0
votes
0answers
107 views

How to include Greek characters in document using inputenc on MikTex

I want to create a document that includes Greek letters using \[utf8]inputenc, and so far my attempts to do that have failed. My question is how to do that? I recently switched from using Latex on ...
1
vote
1answer
602 views

What output encoding does `latexdiff` use?

I'm trying to use latexdiff on two versions of a document. These are encoded in UTF8 and have the \usepackage[utf8]{inputenc} statement as first line within the preamble. I processed the files then ...
3
votes
2answers
7k views

Package inputenc Error: Keyboard character used is undefined - ^^c0

I have a very large LaTeX document which can't be compiled because of following error: /usr/share/texlive/texmf-dist/tex/latex/pdfx/pdfx.sty:1398: Package inputenc Er ror: Keyboard character used is ...
0
votes
2answers
20 views

Problems encoding template

im new in latex and I'm writing my thesis in english using this brazilian-portuguese template (for formating reasons) but i'm having two problems: First, I'm getting tooo much errors when switching ...
2
votes
1answer
78 views

Pandas to_latex Encoding Issues

I'm using python and pandas to run a script and generate a latex table from a couple files I have. I'm doing this by importing a java .properties file (encoded in ISO-8859-1 with special unicode-...
0
votes
0answers
31 views

How to properly display Unicode emoji? [duplicate]

I would like to display some Unicode emoji in a latex document. For example, how could I display the shrug emoji, i.e. ¯\_(ツ)_/¯? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
0
votes
2answers
785 views

Package inputenc Error: Unicode character (U+200E) (inputenc) not set up for use with LaTeX

I am new to LaTeX. I have searched my question but I couldn't find solution. When I export to PDF I am getting the error. ! Package inputenc Error: Unicode character (U+200E) (inputenc) not set up ...
3
votes
1answer
118 views

does not compile and gives LaTeX Error: Option clash for package inputenc

I dont have inputenc written twice. at least i dont have it in my main tex file. i'm not sure what could be causing this error and could use some help in troubleshooting it. heres everything i have ...
1
vote
2answers
37 views

Insert Unicode 'increment' character

I'm trying to insert the Unicode 'increment' ∆ into my document as I'm describing an issue of two characters being mis-used. My MWE doesn't work because I can't figure out the second \...
4
votes
2answers
428 views

How do i use a cyrillic glyph/symbol/character in a math formula?

I am trying to use a cyrillic glyph as a symbol for a proportionality factor. It's the ӄ and its unicode number is 04C4 (see unicode page). So i crawled the english web for information on this, and ...
5
votes
2answers
2k views

! Package inputenc Error: Unicode character ☯ (U+262F)

I encountered this error while trying to compile my thesis. Before I did not have this error. Any idea how I can find this Unicode character in my LaTeX document, or solve this issue?
0
votes
0answers
41 views

glossaries: Setting unicode character as entry label

Why does the following compile with lualatex and fail with pdflatex when setting entry label to be Unicode character? % arara: pdflatex: { options: [ '-synctex=1', '-shell-escape' ]} % arara: ...
2
votes
2answers
103 views

Inputenc package error on my new pc

I have been having this issue for a while and I cannot seem to find a solution. I had been working on my thesis on my old laptop for quite a while, but something happened and I had to get a new one ...
4
votes
2answers
3k views

! Package inputenc Error: Unicode char Δ (U+394)

I would like to set up a bibliography containing greek letters (e.g. Δ) but receive an error while printing my bibliography. Though having read several questions related to that topic (e.g. 1, ...
1
vote
0answers
89 views

Can't execute jar from directory with umlaut

Okay so this is quite an exotic question and I am unsure whether it really fits on this page. But as it involves LaTeX I'll post it here. I have written a Java program that I am calling from inside ...
27
votes
1answer
892 views

TeXLive and MikTeX behave differently in handling BOM in listing

This is a followup to a comment of mine posted in 2012. In short, MikTeX does not remove the leading BOM from listings, but TeXLive does, as shown in the following images. The leading BOM effect can ...
3
votes
2answers
496 views

How to write Quran via Latex?

I get this message when I compile it " ! Package inputenc Error: Unicode character ٰ (U+0670) (inputenc) not set up for use with LaTeX. " \documentclass[11pt,a4paper]{report} \...
0
votes
0answers
29 views

Encoding problem when using smartdiagramset

I am having problems with acute accentuation at i letter (the acute accentuation is í) after using the command \smartdiagramset{uniform color list=gray!60 for 4 items} after which all í's are ...
1
vote
1answer
42 views

Author name in bibliography contains special letters

I have a reference for article where author name contains several specific characters. Do I need a specific package for this case: Here is the reference: @article{matouvsek1998thel2, title={On the {...
1
vote
1answer
63 views

Possible to use$ \C$ for complex numbers with T2A encoding?

In using pdflatex on a document in English that will include some Cyrillic text. For math, I'd like to use $\C$ for the set of complex numbers. But the T2A encoding needed for babel with its russian ...
2
votes
1answer
67 views

Encoding for open box character

Trying to include a source-file into my latex document using the listings package, i got problems with the open box character. Using, \usepackage{listings} \lstset{language=Python} \lstset{ numbers=...
0
votes
0answers
35 views

My latex document can't seem to decode properly accentuated and other special french characters

My editor (TexMaker) is using utf-8 by default and when i try to use it in my preamble instead of latin it gives me errors! and right now i'm using latin and it dosen't decode properly my document! ...
0
votes
1answer
96 views

! Package inputenc Error: Unicode character, for unknown characters

I have a problem that seems to be quite common. When I compile my document I get several unicode errors, In my case I get errors on the characters \global (U+2D1) and \egroup(U+2F2). By dumb luck I ...
2
votes
1answer
71 views

German letters with double umlauts?

I'm trying to use german umlauts in my document, however if I use it like that: \documentclass[a4paper]{scrartcl} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage[ansinew]{inputenc} ...
1
vote
2answers
282 views

How do I display Unicode characters with minted?

I use a minimal code example with Julia \documentclass{article} \usepackage[cache=false]{minted} \begin{document} \inputminted{julia}{polynomial_regression.jl} \end{document} on # Polynomial ...
0
votes
0answers
36 views

Cyrillic characters problem

I want to write a math paper that needs to be in Bulgarian (uses the same alphabet as Russian). However when I try to compile with pdflatex I get the following error for every cyrillic character: ! ...
1
vote
0answers
50 views

Weird Symbols when I opened my editor today

Yesterday, I edited my tex document as usual, but today I opened up the file and found gibberish. Someone please tell me if I can recover the original non gibberish file. Oh, good news is that the pdf ...
1
vote
0answers
27 views

Inputenc not working inside included file

So in the document section ű ő letter work perfectly fine, but inside another tex file which is included with \include{myothertexfile} into the document, is not working. Some of the documents inside ...