I'm currently in a new environemnt, my emacs in terminal displays weird character in files, GUI Emacs works fine. I don't know how to express this, please see the following details:
Text edition:
#include <stdio.h>
int main()
{
\u2506 printf("hello world\n");
\u2506 return 0;
}
Image edition: https://i.stack.imgur.com/b5f0p.png
This "\u2506` characters are displayed in all files I've tried, and the files are displayed correctly in other programs such as vim or less.
I believe this is the problem of my new OS, since it works fine in another environment, and I got the same TERM(screen-256color+tmux) and SHELL(fish shell) in both environments.
How can get this fixed? If you need any info, pelase let me know.
emacs -Q
.). To fix the issue, we need to 1) check if the terminal can display the character and (if so) 2) figure out why Emacs thinks it can't. – Lindydancer May 16 '19 at 10:40highlight-indents-guide
package. But how can I make my terminals support this? MobaXterm and Mate Terminal don't support it, but Konsole supports it. – CodyChan May 16 '19 at 11:19highlight-indent-guides-character
to use a more common character that the terminal can handle, like|
. – Lindydancer May 16 '19 at 13:43