{unicode} is for questions about Unicode (an international standard for character encoding) and its implementations. For questions about input encodings use {input-encodings}.

learn more… | top users | synonyms (1)

3
votes
1answer
54 views

makeidx, xstring, forloop and utf8 conflict

I'm using Danish characters in strings that I split with \StrCut from the ×string package and use within a \forLoop from the forloop package. The result is not good. Consider this small example: ...
7
votes
1answer
443 views

Text encoding driving me crazy

I am writing a paper in english but will need to provide a danish abstract and use the little word "Köppen" as well. For some reason I seam not to be able to get the them to work. This example: ...
1
vote
0answers
199 views

Cannot open Tex file - Default encoding setting (UTF-8) not working

Texmaker cannot open a .tex file. It says It seems that this file cannot be correctly decoded with the default encoding setting (UTF-8) and asks me to choose an encoding option. ISO-8859-1 and ...
7
votes
3answers
235 views

Can I include Chinese characters in listings? If so, how?

I'd like to include Chinese characters in listings. Can it be done, and, if so, how?
11
votes
3answers
155 views

Capital ẞ in LaTeX/XeTeX/lualatex/whatever

I am trying to get a ẞ in my LaTeX document. How can I do this? I already tried: Using other fonts: dejavu and libertine Using \MakeUppercase{ß}, which sometimes produces nothing, sometimes produces ...
16
votes
5answers
16k views

Unicode degree symbol ° in math formulas: \textdegree invalid in math mode

I'd like to be able to simply input a degree symbol as ° in my source code. German keyboards have a key for this, and it makes the source so much more readable. I'm using pdflatex from TeXLive 2012, ...
2
votes
0answers
41 views

Using UTF8 inside \path from the url package

Whereas there are certain rules for how a URL is to be formed (where non ascii letters are not really allowed). How about \path? I happend to try \path{æøå}, saved in latin1 this gives the expected ...
0
votes
0answers
87 views

How can I make the copied-pasted text from an pdflatex output still readable/compilable by pdflatex?

The issue I compile a latex document which contains accents ("é" for instance), then I copy the text from the pdf generated by pdflatex. Then, I paste this text to my latex file. The resulting file ...
5
votes
1answer
74 views

Can't replace non-ascii characters with biblatex

This is a follow-up to my question Translate content in fields in bibliography entries (biblatex), which revealed a problem when trying to replace content in a .bib file when that content contain ...
8
votes
3answers
639 views

Glyph insertion

I use Linux and have available to me the "compose" key, and thus can type characters like '°', 'ß', 'ï', 'į', 'ḯ', etc. Is it inherently "bad" to use the compose key to insert the characters, should ...
2
votes
0answers
81 views

Suspected Problem with UTF8 in .bib file [closed]

I've got the following problem. When I try to compile my .tex file I get: "Package inputenc Error: Unicode char \u8 not set up for use with LaTeX". The .tex file is UTF8 encoded. Running ...
7
votes
1answer
100 views

Unicode, right to left characters in command names

What is the status, in terms of category codes, of all the Unicode letters above ASCII in XeTeX (using XeLaTex+fontspec) and LuaTeX (using ConTeXt)? Can I define a macro using Unicode characters (ex. ...
11
votes
1answer
250 views

How to produce unicode copyable alternative text? (with accsupp)

In the following example, I can't manage to make accsupp store the unicode alternative text. The resulting PDF looks as expected but the copyable text is not the correct one. I tried this with ...
18
votes
6answers
911 views

Converting LaTeX into Unicode for email

My standard procedure for writing mathematical email has been to use pidgin-LaTeX for some time now, and many of those I communicate with do the same. However, someone I know has recently started a ...
4
votes
1answer
311 views

Using unicode “combining right arrow above” to generate vector command

This question originated from a confusion created by some Linux systems where, for some software (editor and browser) the combining unicode characters appear to apply to the right (instead of ...
4
votes
1answer
75 views

Difference between Typeset Superscript vs. Unicode Symbol for Superscript

For a Unicode font, is there any difference in height, placement, etc. between rendered text of ^{superscript}, when compared to the Unicode character for superscript itself? For instance: will the ...
4
votes
3answers
209 views

Why is caron treated differently than breve

I'm using biblatex and wanted to add the author Kruzhkov into my Bibliography. As far as I see he is written Kru\u{z}kov Writing him that way leads to an error as here: inputenc Error: Unicode char ...
43
votes
2answers
54k views

Which dot character to use in which context?

Wikipedia lists several dot characters in Unicode. These are the ones that are ambiguous to me: interpunct, middle dot (·) · · U+00B7 "midpoint (in typography)" ...
7
votes
1answer
105 views

How do I get bibtexU working?

Running bibtexu -v (from TeX Live bundle) yields the message This is BibTeXu: a UTF-8 Big BibTeX version 0.99d Implementation: Microsoft(R) C/C++ for Win32 Release version: 3.71 (18 mar 2013) ...
3
votes
0answers
79 views

XeLaTeX, xindy, imakeidx “Could not find file ”tex/inputenc/utf8.xdy"

I'm trying to use XeLaTeX, imakeidx and xindy for a german book with multiple indexes. Based on an answer on this page, (which works) I tried to switch to xelatex and imakeidx. Calling xelatex ...
15
votes
2answers
1k views

Hide your e-mail address from spam crawlers

According to Security SE it is highly recommendable to cover your email address in publicly available documents. I'm aware of the discussion about handling email addresses as images: Crawler ...
3
votes
0answers
148 views

How to compile files with non-ASCII paths?

I cannot compile files with non-ASCII paths. I am using XeLaTeX from MikTex and TexStudio on Windows. Is it possible to read paths as utf8? The specific path contains Chinese. If I change what ...
4
votes
2answers
97 views

An extensive list of LaTeX symbols and Unicode equivalents?

The first two columns of the table here (partly reproduced below) is exactly what I'm looking for, but I'd like a more extensive list. I want the unicode symbols to be in unicode symbols, and not ...
5
votes
2answers
191 views

WriteLatex utf-8 ģ symbol problem

I need to use ģ symbol in my presentation. This symbol has 0123 utf-8 code. But when I am typing it in writeLatex it compiles with error: Package ucs Error: Unknown Unicode character 291 = U+0123, ...
6
votes
1answer
59 views

Conditional based on character following the macro

Basically, I would like to something like \xspace does, i.e. the meaning of the macro should depend on what is following it. So for example if I say \mymacro a it might expand to foo, and if any ...
0
votes
0answers
76 views

Hindi text does not show using Beamer

I am trying to write an example of using unicode font in Latex Beamer. The resulting pdf does not show the Hindi characters, rather shows blank spaces in that place. However, when I use the same code ...
5
votes
1answer
198 views

MonTeX (mls, manju, mongolian) with Latin script with diacritics

I am using the montex package to type text in Manchu (manju). In my documents, I also use Latin script with diacritics. When I load montex, these diacritics no longer appear, and when characters with ...
3
votes
1answer
187 views

How to have special characters (e.g. german umlauts) inside bibkeys?

I really like biblatex [backend=biber] to use with UTF8, as many citations I use will have some special characters esp. in the name field. This works totally great until I want to use e.g. german ...
1
vote
0answers
76 views

Definition environment versus utf8 [closed]

I had some problems with my code, then I changed to \usepackage[utf8]{inputenc} and I could compile. But now I have another problem. I write in Brazilian portuguese, so the definition environment ...
2
votes
1answer
91 views

Kile creates special character in empty cells for tables

I am using Kile as a Latex editor, and I particularly like the Tabular Wizard. However, when a cell has an empty value, Kile adds a special character, a pink ×. When I try to compile the document ...
5
votes
2answers
117 views

Pound = $ if tgpagella and utf8 loaded: why?

I am trying to have the pound sign appear in text composed with TG Pagella. \documentclass[11pt]{article} \usepackage{tgpagella} % alternative to MinionPro %\usepackage[T1]{fontenc} ...
3
votes
1answer
151 views

Auto convert LaTeX escape codes to UTF-8 characters?

How do I—e.g., with AucTeX—automatically convert escaped characters like \~n to ñ for use with \usepackage[utf8]{inputenc}? I could do something like this: sed \ -e "s/\\'a/á/" \ -e ...
4
votes
0answers
70 views

Unicode and listings - still no luck

Although there are already some discussions on this issue, I can't get any of the proposed solutions to work for me. Take this document and compile it with xelatex: ...
4
votes
2answers
71 views

Who do I have to ask, if I need a \mathsfup{\Theta} (missing unicode character)?

Strange question, I guess, but I am needing a \mathsfup{\Theta} and this char is not included to the range of unicode characters. Who should I ask, if I want to obtain this letter in medium weight ...
7
votes
1answer
220 views

How can I enter Unicode bold Fraktur math characters with LuaTeX?

I want to write a paper with Old/Biblical-Hebrew (Tiro) and Old-Greek words in it. Now I have made my first experience with LuaTeX and it worked well. But I also want to use this symbol ...
8
votes
1answer
142 views

How to apply the star (*) to only a few of the literates in listings environment?

I have a problem with the definition of literate: \lstset{ numbers=left, numberstyle=\footnotesize, stepnumber=1, numbersep=12pt, frame=none, framesep=7pt, breaklines=true, ...
6
votes
1answer
190 views

Special Unicode characters with XeTeX

Most of the modern fonts out there are encoded in Unicode, but provide only a subset of the whole range of glyphs defined in Unicode. Most lack the Latin Extended Additional range ...
2
votes
0answers
45 views

how to generate a PDF with real UTF characters [duplicate]

I'm using these settings: \epstopdfsetup{outdir=./} \usepackage[italian]{babel} \usepackage[T1]{fontenc} \selectlanguage{italian} \usepackage[utf8]{inputenc} \usepackage{hyperref} in order to write ...
1
vote
0answers
44 views

Hebrew encoding

I have two systems, both running Ubuntu 12.04. On one system, I can LaTeX Hebrew without much problems. Babel complains about hyphenation but that's it. On the other system, the identical file does ...
3
votes
2answers
109 views

Problem with defining new unicode character

I have a document that takes text from source file via pandoc (that doesn't matter anyway) and inserts it instead of $body$. The source document contains the only one symbol that's shown in hex-editor ...
11
votes
4answers
823 views

Replacing Unicode non-breakable spaces by normal spaces

I am using the Neo keyboard layout, which uses all kinds of modifier keys to input all kinds of characters (e.g. Greek letters and mathematical symbols). It also has shift+Mod3+space mapped to Unicode ...
3
votes
0answers
35 views

Unicode Symbols [duplicate]

How do I use TeX to generate the Atom symbol? I tried the following code in XeLaTeX: \documentclass{article} \usepackage{fontspec} \usepackage{dejavu} \begin{document} \symbol{"269B} ...
16
votes
5answers
892 views

How can I access a specific glyph in LuaLaTeX/Fontspec?

The OTF version of Minion Pro contains several Dingbats glyphs I would like to access. Some of them are not unicode, so I can not just copy the specific unicode character I want to access into my text ...
15
votes
4answers
9k views

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

I have the following LaTeX document: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} φΔδ汉 \end{document} But I get the following error: $ latex foo This is pdfTeX, Version ...
2
votes
1answer
64 views

Accented letters messed up in PDF readers navigator with LuaLaTeX

I have something like this: \documentclass{beamer} \usepackage{fontspec} \begin{document} \section{é} \begin{frame} test \end{frame} \end{document} Problem is that the section name ...
9
votes
1answer
235 views

comment.sty and UTF8 encoding

I noted that if I use comment.sty and a there is a block of text containing UTF8 characters inside a comment environment, the compilation aborts! Minimal Example \documentclass{article} ...
15
votes
5answers
2k views

How to print a warning sign (triangle with exclamation point)?

I am interested in including a triangle with an exclamation point (unicode #9888: ⚠) in a tex document. I've looked in the usual places (detexify, etc.) and not found this symbol. The document should ...
2
votes
1answer
104 views

Problem with composite letters in section labels

Although there are some advices that deal with the warning message: Composite letter `\textasciicaron+c'not defined in PD1 encoding See here, for example: Problem with UTF-8 in meta data It ...
0
votes
0answers
109 views

Accents generate errors with moderncv class

When using accented characters (e.g. ë) I get the following error: Package inputenc Error: Unicode char \u8:ële not set up for use with LaTeX. A minimal working example is given below. To the best ...
1
vote
0answers
38 views

List of unicode symbols and TeX equivalents [duplicate]

I am looking for a simple table with two columns: One column has unicode symbols (not images or anything else) (example: ∞) and another column has the TeX equivalent (example: \infty). The table here ...