Questions tagged [utf-8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
50 views

UTF-8 error everytime Org-gcal sync entries

I continue to get bogged down with this error every time I sync from gcal, I have this ut8 flag set in my config as well, any direction would be helpful. (prefer-coding-system 'utf-8-unix)
1
vote
1answer
70 views

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-...
1
vote
1answer
25 views

Does `<meta charset=utf-8 />` obviate `-*- coding: utf-8 -*-` in an HTML file?

Is writing <meta charset=utf-8 /> in an HTML file (being edited by Emacs) sufficient, or do I also need to specify -*- coding: utf-8 -*- on the first line? In other words, do I have to write &...
0
votes
0answers
42 views

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 ...
1
vote
1answer
101 views

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 ...
1
vote
0answers
41 views

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 ...
0
votes
0answers
27 views

Emacs Windows: nil turns into nil symbol

I took my entire Ubuntu 18.10/Emacs 26.1 .emacs.d directory over to a Windows machine and have Windows Emacs 26.1 using it. Seems to work all right; haven't really stress tested it yet. However, ...
4
votes
2answers
191 views

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 ...
1
vote
1answer
97 views

Display glyphs instead of codepoints

I have a JSON file where Unicode characters are encoded as UTF-8 codepoints, example: \u05de instead of the Hebrew character Mem (מ). How could I get emacs to display glyphs instead of the codepoint ...
-1
votes
1answer
256 views

Unable to use Microsoft Japanese IME in Emacs under Windows

For some reason I can't seem to use the Microsoft Japanese IME in Emacs, even though I can apparently use the Microsoft Chinese IME to input Chinese without problems. Even if I've switched to the ...
0
votes
0answers
140 views

TeX input mode and subscript

I'm a bit lost on what I can use the TeX input mode for. What I'd like to achieve is a mathematical notation like ∑ᵢ₌₁ᴺ ∑ⱼ₌₁ᴹ in pure UTF text and it seems to mostly work, i.e. \sum _ i _ = _ 1 works, ...
2
votes
1answer
200 views

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

File encoding differet when visiting the file again

I have this in my .emacs: (setq-default buffer-file-coding-system 'utf-8-unix) When I create a file in emacs and save it, it should be buffered and saved in utf-8-unix. When I open such a file ...
2
votes
2answers
743 views

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 ...
0
votes
0answers
46 views

Is there a way to convert an array of bytes into a UTF-8 string?

There are now some files which contain raw bytes which are valid UTF-8 characters, e.g. a line of the file could be '@\u0915\u0941\u091b@ \u092c\u093f\u0902\u0926\u0941 \u0938\u095e\u0947\u0926 \u0939\...
1
vote
1answer
214 views

utf-8 characters with eshell, eshell-visual-subcommands, and git

Using the configuration (eval-after-load "em-term" '(progn (add-to-list 'eshell-visual-subcommands '("git" "diff" "help" "log" "show")) (add-to-list 'eshell-visual-options '("git" "--help"...
1
vote
1answer
137 views

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. ...
1
vote
1answer
281 views

What is Emacs' default character encoding for saving files? If it is UTF-8, is a BOM (Byte Order Mark) inserted?

What is the default character encoding used by GNU Emacs 25.1.1 to save files? Is it UTF-8? Assuming that it is UTF-8, does Emacs insert a BOM at the beginning of the file?
1
vote
1answer
90 views

Incremental Search on UTF-8 in Julia Mode

I was wondering if there is any way of searching (incremental search) for a UTF-8 character in julia mode, other than typing the character and copying it into the minibuffer. I think you can use ...
2
votes
1answer
465 views

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 ...
2
votes
1answer
234 views

^M character suddenly appearing upon opening file [closed]

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 ...
1
vote
1answer
131 views

Some UTF-8 characters break my ansi-term. How to fix it?

I've got a script that generates some output. Some parts of the output are cyrillic letters, and they cause my ansi-term to break - I guess they are treated as control characters(they are displayed ...
3
votes
1answer
1k views

How to set Chinese fonts in modern Emacs

For a long long time, my Emacs font definition in X Resources has always been: ! -------------------------------------------------------------- &ss --- ! .............................................
1
vote
0answers
228 views

org-mode latex export: German ß character

Is there a way to export to latex in a way that the German 'ß' ("scharfes S", "eszett") character stays? I'm using utf-8 input encoding, and Umlauts get exported well, but ß appears as capital SS in ...
2
votes
2answers
170 views

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 \...
3
votes
1answer
98 views

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 ...
2
votes
1answer
315 views

How can I extend org symbols table?

I use org UTF8 character substitution all the time, for example to go from \beta to β (enabled with the org-pretty-entities variable). However some standard symbols are missing and I'd like to add ...
1
vote
1answer
1k views

How to convert a MULE encoded file to UTF-8?

I am trying to modify a buffer written by desktop-save to a file. The file is named .emacs.desktop and I am trying to modify it from a Perl script. It turns out that it is saved in emacs-mule encoding....
1
vote
1answer
1k views

how to add new UTF-8 words to Hunspell's user custom dictionary?

How do I set up Hunspell so that I can add new UTF-8 words (e.g. "Rúdi") to my user local dictionary? I have a function that allows me to add new words to my local dictionary. It works for adding ...