Howto display unicode character u2026 in terminal mode in emacsEmacs detect terminal Unicode coverageHow to display Unicode UTF-8 as Unicode?What linux terminal app is compatible with emacs keybindings?Emacs terminal promptCheck if terminal supports UnicodeHow can I display any Unicode character in GUI Emacs for OS X?display images in emacs w3m in terminalUnicode character displayFixing Evil inside Emacs terminal modeWhat is the equivalent code of a Unicode character
Is an acid a salt or not?
What is the difference between logical consistency and logical entailment in deductive logic?
Email about missed connecting flight compensation 5 months after flight, is there a point?
Occasus nescius
Is Trump personally blocking people on Twitter?
How the name "craqueuhhe" is read
What would the EU do if an EU member declared war on another EU member?
Referring to different instances of the same character in time travel
Why did my rum cake turn black?
During copyediting, journal disagrees about spelling of paper's main topic
Creating custom objects with custom properties using generics
Are there any intersection of Theory A and Theory B?
Is it rude to tell recruiters I would only change jobs for a better salary?
Why is dry soil hydrophobic? Bad gardener paradox
What's the minimum number of sensors for a hobby GPS waypoint-following UAV?
If a specific mass of air is polluted, will the pollution stick with it?
Crowbar circuit causes unexpected behavior for op amp circuit
How do Windows version numbers work?
Is `curl something | sudo bash -` a reasonably safe installation method?
Robbers: The Hidden OEIS Substring
What is the Precise Definition of a “Complex Vector Space”?
QGIS Welcome page: What is 'pin to list' for?
Why does Hellboy file down his horns?
When did the Roman Empire fall according to contemporaries?
Howto display unicode character u2026 in terminal mode in emacs
Emacs detect terminal Unicode coverageHow to display Unicode UTF-8 as Unicode?What linux terminal app is compatible with emacs keybindings?Emacs terminal promptCheck if terminal supports UnicodeHow can I display any Unicode character in GUI Emacs for OS X?display images in emacs w3m in terminalUnicode character displayFixing Evil inside Emacs terminal modeWhat is the equivalent code of a Unicode character
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Magit uses Horizontal Ellipsis unicode escape "u2026" (which should display as "...") to mark hidden section. How can I configure the Terminal/Emacs to display them when running in terminal mode (option -nw)? The escape string is shown instead of the visual icon. Maybe I need to install a special font? I'm running emacs 26.1 running inside KDE Kconsole terminal emulator.
terminal-emacs unicode terminal
add a comment |
Magit uses Horizontal Ellipsis unicode escape "u2026" (which should display as "...") to mark hidden section. How can I configure the Terminal/Emacs to display them when running in terminal mode (option -nw)? The escape string is shown instead of the visual icon. Maybe I need to install a special font? I'm running emacs 26.1 running inside KDE Kconsole terminal emulator.
terminal-emacs unicode terminal
add a comment |
Magit uses Horizontal Ellipsis unicode escape "u2026" (which should display as "...") to mark hidden section. How can I configure the Terminal/Emacs to display them when running in terminal mode (option -nw)? The escape string is shown instead of the visual icon. Maybe I need to install a special font? I'm running emacs 26.1 running inside KDE Kconsole terminal emulator.
terminal-emacs unicode terminal
Magit uses Horizontal Ellipsis unicode escape "u2026" (which should display as "...") to mark hidden section. How can I configure the Terminal/Emacs to display them when running in terminal mode (option -nw)? The escape string is shown instead of the visual icon. Maybe I need to install a special font? I'm running emacs 26.1 running inside KDE Kconsole terminal emulator.
terminal-emacs unicode terminal
terminal-emacs unicode terminal
asked Jul 4 at 12:43
Konrad EiseleKonrad Eisele
1635 bronze badges
1635 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
When running in -nw mode, Emacs' display is at the mercy of the terminal emulator. If the emulator is using a font which doesn't have a glyph for the character you want to display, the only solution is to change it to use a different font.
That's true, but it doesn't answer the question. The terminal emulator decides between showing…
and something like�
and Emacs has no way to know which one it is AFAIK. Emacs decides whether to attempt to display…
or to displayuNNNN
.
– Gilles♦
Jul 5 at 5:57
I fail to see how it doesn't answer the question: the font being used is missing a glyph. Switching to a different font will fix that. (and it's magit deciding to use the unicode sequence, not Emacs)
– rpluim
Jul 5 at 9:02
No, if Emacs displaysuNNNN
in a terminal, that's because Emacs has decided to displayuNNNN
. This has nothing to do with the font used in the terminal. If Emacs decided to display the character…
and the font didn't have this character, you'd see something like�
instead, the terminal would not substituteuNNNN
.
– Gilles♦
Jul 5 at 11:16
add a comment |
I found that I missed this in my .emacs.d configuration:
;; UTF-8 support
(prefer-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
(from here). The other possibility is to
(setq magit-section-visibility-indicator '("..." . t))
instead (3 char string istead of one unicode char). KDE Konsole itself does support the u2026 char as can be seen when printing the utf-8 sequence:
printf "xe2x80xa6"
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "583"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f51387%2fhowto-display-unicode-character-u2026-in-terminal-mode-in-emacs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
When running in -nw mode, Emacs' display is at the mercy of the terminal emulator. If the emulator is using a font which doesn't have a glyph for the character you want to display, the only solution is to change it to use a different font.
That's true, but it doesn't answer the question. The terminal emulator decides between showing…
and something like�
and Emacs has no way to know which one it is AFAIK. Emacs decides whether to attempt to display…
or to displayuNNNN
.
– Gilles♦
Jul 5 at 5:57
I fail to see how it doesn't answer the question: the font being used is missing a glyph. Switching to a different font will fix that. (and it's magit deciding to use the unicode sequence, not Emacs)
– rpluim
Jul 5 at 9:02
No, if Emacs displaysuNNNN
in a terminal, that's because Emacs has decided to displayuNNNN
. This has nothing to do with the font used in the terminal. If Emacs decided to display the character…
and the font didn't have this character, you'd see something like�
instead, the terminal would not substituteuNNNN
.
– Gilles♦
Jul 5 at 11:16
add a comment |
When running in -nw mode, Emacs' display is at the mercy of the terminal emulator. If the emulator is using a font which doesn't have a glyph for the character you want to display, the only solution is to change it to use a different font.
That's true, but it doesn't answer the question. The terminal emulator decides between showing…
and something like�
and Emacs has no way to know which one it is AFAIK. Emacs decides whether to attempt to display…
or to displayuNNNN
.
– Gilles♦
Jul 5 at 5:57
I fail to see how it doesn't answer the question: the font being used is missing a glyph. Switching to a different font will fix that. (and it's magit deciding to use the unicode sequence, not Emacs)
– rpluim
Jul 5 at 9:02
No, if Emacs displaysuNNNN
in a terminal, that's because Emacs has decided to displayuNNNN
. This has nothing to do with the font used in the terminal. If Emacs decided to display the character…
and the font didn't have this character, you'd see something like�
instead, the terminal would not substituteuNNNN
.
– Gilles♦
Jul 5 at 11:16
add a comment |
When running in -nw mode, Emacs' display is at the mercy of the terminal emulator. If the emulator is using a font which doesn't have a glyph for the character you want to display, the only solution is to change it to use a different font.
When running in -nw mode, Emacs' display is at the mercy of the terminal emulator. If the emulator is using a font which doesn't have a glyph for the character you want to display, the only solution is to change it to use a different font.
answered Jul 4 at 12:50
rpluimrpluim
1,9331 silver badge12 bronze badges
1,9331 silver badge12 bronze badges
That's true, but it doesn't answer the question. The terminal emulator decides between showing…
and something like�
and Emacs has no way to know which one it is AFAIK. Emacs decides whether to attempt to display…
or to displayuNNNN
.
– Gilles♦
Jul 5 at 5:57
I fail to see how it doesn't answer the question: the font being used is missing a glyph. Switching to a different font will fix that. (and it's magit deciding to use the unicode sequence, not Emacs)
– rpluim
Jul 5 at 9:02
No, if Emacs displaysuNNNN
in a terminal, that's because Emacs has decided to displayuNNNN
. This has nothing to do with the font used in the terminal. If Emacs decided to display the character…
and the font didn't have this character, you'd see something like�
instead, the terminal would not substituteuNNNN
.
– Gilles♦
Jul 5 at 11:16
add a comment |
That's true, but it doesn't answer the question. The terminal emulator decides between showing…
and something like�
and Emacs has no way to know which one it is AFAIK. Emacs decides whether to attempt to display…
or to displayuNNNN
.
– Gilles♦
Jul 5 at 5:57
I fail to see how it doesn't answer the question: the font being used is missing a glyph. Switching to a different font will fix that. (and it's magit deciding to use the unicode sequence, not Emacs)
– rpluim
Jul 5 at 9:02
No, if Emacs displaysuNNNN
in a terminal, that's because Emacs has decided to displayuNNNN
. This has nothing to do with the font used in the terminal. If Emacs decided to display the character…
and the font didn't have this character, you'd see something like�
instead, the terminal would not substituteuNNNN
.
– Gilles♦
Jul 5 at 11:16
That's true, but it doesn't answer the question. The terminal emulator decides between showing
…
and something like �
and Emacs has no way to know which one it is AFAIK. Emacs decides whether to attempt to display …
or to display uNNNN
.– Gilles♦
Jul 5 at 5:57
That's true, but it doesn't answer the question. The terminal emulator decides between showing
…
and something like �
and Emacs has no way to know which one it is AFAIK. Emacs decides whether to attempt to display …
or to display uNNNN
.– Gilles♦
Jul 5 at 5:57
I fail to see how it doesn't answer the question: the font being used is missing a glyph. Switching to a different font will fix that. (and it's magit deciding to use the unicode sequence, not Emacs)
– rpluim
Jul 5 at 9:02
I fail to see how it doesn't answer the question: the font being used is missing a glyph. Switching to a different font will fix that. (and it's magit deciding to use the unicode sequence, not Emacs)
– rpluim
Jul 5 at 9:02
No, if Emacs displays
uNNNN
in a terminal, that's because Emacs has decided to display uNNNN
. This has nothing to do with the font used in the terminal. If Emacs decided to display the character …
and the font didn't have this character, you'd see something like �
instead, the terminal would not substitute uNNNN
.– Gilles♦
Jul 5 at 11:16
No, if Emacs displays
uNNNN
in a terminal, that's because Emacs has decided to display uNNNN
. This has nothing to do with the font used in the terminal. If Emacs decided to display the character …
and the font didn't have this character, you'd see something like �
instead, the terminal would not substitute uNNNN
.– Gilles♦
Jul 5 at 11:16
add a comment |
I found that I missed this in my .emacs.d configuration:
;; UTF-8 support
(prefer-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
(from here). The other possibility is to
(setq magit-section-visibility-indicator '("..." . t))
instead (3 char string istead of one unicode char). KDE Konsole itself does support the u2026 char as can be seen when printing the utf-8 sequence:
printf "xe2x80xa6"
add a comment |
I found that I missed this in my .emacs.d configuration:
;; UTF-8 support
(prefer-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
(from here). The other possibility is to
(setq magit-section-visibility-indicator '("..." . t))
instead (3 char string istead of one unicode char). KDE Konsole itself does support the u2026 char as can be seen when printing the utf-8 sequence:
printf "xe2x80xa6"
add a comment |
I found that I missed this in my .emacs.d configuration:
;; UTF-8 support
(prefer-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
(from here). The other possibility is to
(setq magit-section-visibility-indicator '("..." . t))
instead (3 char string istead of one unicode char). KDE Konsole itself does support the u2026 char as can be seen when printing the utf-8 sequence:
printf "xe2x80xa6"
I found that I missed this in my .emacs.d configuration:
;; UTF-8 support
(prefer-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
(from here). The other possibility is to
(setq magit-section-visibility-indicator '("..." . t))
instead (3 char string istead of one unicode char). KDE Konsole itself does support the u2026 char as can be seen when printing the utf-8 sequence:
printf "xe2x80xa6"
answered Jul 4 at 18:38
Konrad EiseleKonrad Eisele
1635 bronze badges
1635 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Emacs Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f51387%2fhowto-display-unicode-character-u2026-in-terminal-mode-in-emacs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown