Questions tagged [utf-8]
45 questions
4
votes
1 answer
Emacs crash because of special utf-8 character
I am trying to open a file that contains the following utf-8 character: ⛺
Unfortunately, my emacs does really not appreciate, and immediately crashes.
I have tried to comment out all my init.el (and actually I've even renamed my .emacs_d folder to…

m.raynal
- 257
- 3
- 9
4
votes
2 answers
How can I find non-displayable unicode characters in a buffer?
I mean these:
I'd like to remove them, so I'm looking for a function which can find all these characters in the buffer which cannot be displayed properly with the current font and therefore show up like a rectangle.

Tom
- 1,190
- 7
- 16
4
votes
1 answer
How to set Chinese fonts in modern Emacs
For a long long time, my Emacs font definition in X Resources has always been:
! -------------------------------------------------------------- &ss ---
! ............................................................ fonts ...
!Emacs.font: …

xpt
- 447
- 3
- 16
3
votes
1 answer
Org-ellipsis displayed inorrectly for some headlines only
So in order to customize my org mode files, I have
(setq org-ellipsis "⤵")
in my config, which seems to be a very popular customization (the arrow being U+2935). This works correctly for the most part. In some cases, the ellipsis character is…

Joseph R.
- 175
- 6
3
votes
1 answer
Quail Rules UTF8 behaviour
I had inserted the following code in .emacs:
(quail-define-package "LaTeX-UTF-8" "TeX" "TeX")
(quail-defrule "α" ["\\alpha"])
what I want to do is the following: when I insert the character "α" (I remapped the keyboard so I can do easily) I would…

MaPo
- 103
- 5
3
votes
1 answer
^M character suddenly appearing upon opening file
I'm using Emacs on Windows. Everything was fine just a few minutes ago, but for some odd reason, when I open a certain file, I get ^M characters after every line. As far as I know/remember, I didn't do anything to the file except refile a a couple…

wiuah
- 409
- 2
- 11
3
votes
1 answer
Crash when opening a file with non-ascii characters - how to diagnose?
Running MacOSX GUI emacs installed via homebrew.
Whenever I open a regular text file that contains non-ASCII characters, Emacs immediately crashes. These files have no header lines specifying encoding or other settings.
Works fine in terminal-mode…

jmay
- 363
- 2
- 9
2
votes
1 answer
How to produce UTF8 info file with makeinfo on osx?
In the texi file I have the directive @documentencoding UTF-8 but makeinfo gives me a warning: unrecognized encoding name `UTF-8'
raoul@MacBook-Pro-de-Raoul oef-mode % makeinfo oef-mode.texi
oef-mode.texi:6: avertissement: nom d'encodage non reconnu…

Raoul HATTERER
- 295
- 1
- 9
2
votes
1 answer
Revert buffer with coding system
Chances are that every time utf-coding should be activated by invoking 'M-x revert-coding-system` , even though a long list of utf-prefer configuration:
(prefer-coding-system 'utf-8)
(set-terminal-coding-system …

AbstProcDo
- 1,231
- 5
- 15
2
votes
1 answer
Emacs displays Hebrew text incorrectly
I have a number of org-mode/text documents that contain English and Hebrew text. They are scholarly papers. However, the Hebrew text in Emacs is not displayed correctly. I am using Dejavu Sans Mono as my font. The problem is that vowels are…

Edman
- 1,167
- 7
- 13
2
votes
0 answers
R in ESS outputs UTF-8, which emacs renders raw
I find the question but no answer at Emacs ESS R - Message Content Encoding and Display Issue.
In buffer *R*, the R process uses UTF-8 encoding for its output. However emacs does not decode that output, but displays it as-is. E.g., I see this:
>…

Quigi
- 21
- 2
2
votes
2 answers
How encode to UTF-8 content of buffer?
Windows 10, Emacs 25.1
When I open file that not encoding in UTF-8 I get the next incorrect result:
I try by command set-buffe-file-coding-system but it not help.
And here result:
As you can see this command not help.
To fix this I need to…

Alex
- 303
- 2
- 10
2
votes
1 answer
Get multibyte string byte
Given a multibyte string "x=π", how to get 4-th byte of the string,
without creating string copy with something like string-as-unibyte?
Pseudo code: (string-nth-byte 4 "x=π").
Expected result: 128.
"x=π" = [120 61 207 128] <- bytes
0 1 2…

Iskander Sharipov
- 73
- 5
2
votes
1 answer
org-mode how to export raw text no formatting?
Any quick way to export an org-mode document into a text file with no formatting and no org markup characters?
I am aware of C-c C-e [t] Export to Plain Text unfortunatly those options add formatting to the document
Header…

kevzettler
- 327
- 2
- 13
2
votes
2 answers
How to fix UTF-8 in info buffer that doesn't correctly display in terminal?
I've just installed 24.5 on SUSE, and I have no windowing available, so I am using emacs in the terminal window. When I choose 'Read the Emacs Manual' from the 'Help' Menu, I see (for example) "type \u2018h\u2019 to read a basic introduction".
The…

Derrell Durrett
- 123
- 5