Questions tagged [utf8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
39 views

When using TexShop on my computer I have no problem, but with TexLive 2023 I get Invalid UTF-8 byte "AO please help me [duplicate]

I use TexShop on my computer and everything works well. But TexLive 2023 gives a fatal error: Invalid UTF-8 byte "AO What do I have to do?
Christiane Quesne's user avatar
1 vote
1 answer
39 views

pgfkeys + hyperxmp + utf8 problem

I am trying define a command where I use pgfkeys to process multiple options. Some of these are used to set meta-information in the pdf using hyperxmp. Example: \documentclass{article} \usepackage{...
jwbos's user avatar
  • 55
1 vote
1 answer
42 views

Using lstinputlisting with tex4ht hides all ASCII characters in the caption?

I'm using tex4ht to build my LaTex source to EPUB. Currently I'm having problems with lstinputlisting, where the caption (in Vietnamese) isn't showing up correctly. \lstinputlisting[float,language=C++,...
Giang's user avatar
  • 13
1 vote
0 answers
63 views

Which encoding should I choose when saving files in Kile?

I noticed that Kile appears to have changed the default encoding for files to x-UTF_8j. It has also developed a bewildering list of encoding options in the file saving dialogue. (So this is probably ...
cfr's user avatar
  • 194k
1 vote
1 answer
302 views

Biblatex with Biber can not read utf-8 encoded entry in .bib file [duplicate]

I am new to LaTeX. All similar questions I have found so far could be resolved by using biblatex with biber. But this does not work for me. I have an entry in my .bib file with utf-8 characters. It ...
Tim's user avatar
  • 13
1 vote
2 answers
2k views

LaTeX Error: Invalid UTF-8 byte "92

after updating latex, i get that error. I tried so many way to get rid of but all were futile. Please help me LaTeX Error: Invalid UTF-8 byte "92 l.962 speakers’ bureaus; ...
Davut Kesen's user avatar
1 vote
1 answer
78 views

Using UTF-8 characters directly

I've tried with: \documentclass[12pt]{book} \RequirePackage[T1]{fontenc}% \usepackage[utf8]{inputenc}% \DeclareUnicodeCharacter{03EC}{\`{\i}} \begin{document} Herman vonì\ Helmholtz \end{document} ...
GowriSaro's user avatar
  • 458
1 vote
1 answer
65 views

Why does inputenc skip characters in defining octet parsing?

UTF-8 representations of Unicode characters may take up to four octets to define. If an octet is from "00 to "7F, then it is a single character. If it is from "C0 to "DF, then it ...
texnically's user avatar
11 votes
4 answers
2k views

Force LaTeX to ignore unknown Unicode characters [duplicate]

I'm using LaTeX for PDF generation programmatically. I know that I can \DeclareUnicodeCharacter but that works when you have one file. I'm trying to generate PDFs from the content in the database that ...
Levara's user avatar
  • 213
0 votes
1 answer
79 views

LyX + BibLaTeX handling non ASCII UTF-8

Sorry to repeat this question, but I have gone through several similar questions asked in the past without success. I am using LyX Version 2.3.6.1 with this document #LyX 2.3 created this file. For ...
user171780's user avatar
6 votes
4 answers
807 views

What about "exotic" characters in xstring?

When I use the macro \StrLen on a string that contains one or more "exotic" characters, the value returned does not correspond to the actual number of characters in the string. I suspect ...
Jean-Louis Brabant's user avatar
0 votes
1 answer
196 views

Problem compiling Arabic

When I write this code: \documentclass[a4paper,10pt]{article} \usepackage{arabtex} \usepackage{utf8} \setcode{utf8} \begin{document} Here is the word ``Arabic'' written in Arabic: \<...
Mary Maths's user avatar
1 vote
3 answers
410 views

UTF-8 issue with Soft Hyphen (U+00AD) in both LuaLaTeX and XeLaTex

I have a very simple test case that displays all of the Latin-1 printable characters (U+0021 - U+007e, U+00A1 - U+00ff). It works correctly for every UTF-8 character except U+00AD. It fails with both ...
Michael Lee Finney's user avatar
1 vote
0 answers
66 views

\mathit{\vec{…}} silently swallows up the vector when using xelatex/lualatex, unicode-math, and TeX Gyre Termes (Math)

Feeding xelatex or lualatex with \documentclass{article} \pagestyle{empty} \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Termes} \setsansfont{TeX Gyre Heros}[Scale=0.88]%%% Somewhat ...
user avatar
0 votes
1 answer
194 views

Error use maketitle with Vietnamese

I have code: \documentclass{article} \usepackage{spconf,amsmath,graphicx} \usepackage[utf8]{vietnam} \title{BÁO CÁO TÌM HIỂU THÔNG SỐ TRONG DATASHEET CỦA DIODE} \name{Name} \address{\textbf{...
MrCR's user avatar
  • 103
1 vote
1 answer
51 views

Package alltt does not typeset double quoting marks

For a report I would like to typeset HOL4 code in tt font with the alltt environment. My code includes U+201C Left Double Quotation Mark and U+201D Right Double Quotation Mark. The alltt environment ...
Gergely's user avatar
  • 985
1 vote
2 answers
99 views

How to use Russian letters inside custom environments?

I have created the following file \documentclass[11pt]{article} \usepackage{amsmath} \usepackage[utf8]{inputenc} \usepackage[T2A]{fontenc} \usepackage{graphicx} \usepackage[dvipsnames]{xcolor} \...
Dims's user avatar
  • 153
4 votes
1 answer
1k views

Unicode character ✔ (U+2714) not set up for use with LaTeX error while building with pdfTeX

For the test case: \documentclass{article} \usepackage{ifxetex} \ifxetex \usepackage{polyglossia} \setdefaultlanguage{english} \defaultfontfeatures{Ligatures={TeX}} \setmainfont[...
Alex Shevchenko's user avatar
0 votes
1 answer
87 views

Bundling TeX source files (and unbundling) for the purpose of editing

I would like to bundle several LaTeX source files (into one) so it could be edited and unbundled (for further processing). During the old times (of only ASCII TeX sources) this could be accomplished ...
TeX Apprentice's user avatar
3 votes
1 answer
244 views

How can I write letters like ř, í, á to listings?

How can I write letters like ř, í, á to listings? Why is zero in the name of the section? \documentclass[12pt,a4paper]{report} \usepackage[total={7in, 9in}]{geometry} \usepackage{enumitem} \usepackage[...
Anna-Kat's user avatar
  • 257
0 votes
0 answers
346 views

Adding another language (Vietnamese) to the the latex template

I'm trying to add the language Vietnamese to this latex template Here is the picture before I add Vietnamese into the language package. It's still has the bold effect on the text "Introduction&...
RopuToran's user avatar
  • 101
2 votes
1 answer
248 views

My setup is happy with UTF-8 or escaped LaTex typographic characters, should I use one or the other?

I’m using Pandoc for an initial conversion of Markdown files into LaTex. I have two questions: I use UTF-8 in all my documents without any issues, and can output PDFs from LaTeX with either/both UTF-...
Dave Everitt's user avatar
2 votes
1 answer
402 views

'utf-8' codec can't decode byte 0xd0

I get the following error trying to compile a file with bulgarian text on Ubuntu 20.04 with tex-live. I use kile to compile. Traceback (most recent call last): File "/usr/bin/texliveonfly",...
Dimitar Slavchev's user avatar
3 votes
1 answer
62 views

Equations numbering

In a tex document I would like to number the equations like all the rest. Instead equations seem to have their own numbering. Here is an example: right after "Remark 4.5" I have "...
Puzzled's user avatar
  • 143
6 votes
2 answers
394 views

Letters with a Dot Below Disappear from Footnotes and References

With all due respect, can anyone help me please: all dotted letters (used for Arabic-Latin transliteration purposes) disappear in footnotes and references. Thank you in advance. \documentclass[a4paper]...
Mohamad Anton Athoillah's user avatar
1 vote
0 answers
122 views

Lines are not wrapping on thinspace, `\,`, zero-width space (ZWSP), or other unicode space characters

Asian languages frequently do not use spaces, yet still have "words" which must be broken and wrapped at the right places. I am working with such a language, and actually want to put in a &...
Polyhat's user avatar
  • 355
2 votes
1 answer
107 views

Biblatex - url with "é" and code with percents signs

I use lualatex. I write in french. The compilation process is : lualatex myfile.tex && makeindex myfile.idx && biber myfile.cbf && lualatex myfile.tex && lualatex ...
tramberlimpe's user avatar
2 votes
1 answer
246 views

May we have orderly bibtex/natbib bibliographies with foreign letters?

Suppose you have a bibliography written with bibtex/natbib with author names, using e.g. also Scandinavian letters, like in Åqvist, Æsop, Ødegaard, Österlund and Ändernson. Is there a way to make such ...
Frode Alfson Bjørdal's user avatar
0 votes
1 answer
58 views

Biblatex biblography prints all caps letters when using UTF8 special characters

I use biblatex with a biber backend and the \usepackage[utf8]{inputenc} package. For some reason, references in my .bib file that contain special characters are printed in all-caps in my bibliography. ...
Pentaquark's user avatar
1 vote
1 answer
212 views

Is it possible: change style of umlaut (diacritic dots) into longer vertical "pretty" umlauts?

I think the umlaut diacritics are symbols, accents, placed on letters. They signal a certain change in sound when sounding out letters with reference to the unaccented counterparts. For example, for a,...
Linear Christmas's user avatar
1 vote
0 answers
103 views

Index category for umlauts

I am trying to create my custom index style but I receive an error if the index entry starts with an umlaut: This is makeindex, version 2.15 [TeX Live 2020/W32TeX] (kpathsea + Thai support). Scanning ...
Nyanyan's user avatar
  • 91
0 votes
1 answer
388 views

Avoid the translation of Abstract and References with UTF8 text [closed]

I'm using the following packages for compiling UTF-8 text: \usepackage[utf8x]{inputenc} \usepackage[vietnamese]{babel} Everything is working fine, except that latex automatically translates Abstract ...
lenhhoxung's user avatar
1 vote
0 answers
66 views

Unicode characters with lstlisting [duplicate]

In UTF-8 it should be possible to use ä and ö. But actually in my code listing I use the package listings I receive by this example \lstset{language=HTML} % Set your language (you can change the ...
Aalexander's user avatar
0 votes
0 answers
136 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 ...
Houda Araj's user avatar
3 votes
1 answer
139 views

Problem with special characters when writing to an external file

The following MWE throws the error Undefined control sequence. Test avec \unhbox \voidb @x \bgroup \let \unhbox \voidb @x \setbo... l.1 ...e\egroup \spacefactor \accent@spacefactor } ? How can I ...
Colas's user avatar
  • 6,658
1 vote
4 answers
643 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 ...
user2925716's user avatar
  • 1,920
2 votes
1 answer
187 views

German ß in tikzpicture with text decoration - Package inputenc Error: Invalid UTF-8 byte

I wonder why I can't use the ß directly at this point: decoration={text={heißer Dampf}. If I do that, pdflatex throws me an error: "Package inputenc Error: Invalid UTF-8 byte". I can't ...
Michael.H's user avatar
  • 107
1 vote
0 answers
291 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 ...
iceplant's user avatar
1 vote
1 answer
140 views

tex4ebook - Change encoding of output to latin1

My tex4ebook ebook is formated in utf8. However, in the Kindle preview, characters are not shown correctly. Indeed, Kindle publishing seems to require latin1 encoding ... ( https://kdp.amazon.com/...
berchas's user avatar
  • 41
0 votes
1 answer
142 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 ...
Volker's user avatar
  • 347