Incidental Unicode characters in CentOS 7 not displayed correctly
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.1b9
- OS version: Mac OS 10.12.6
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)com.googlecode.iterm2.plist
At various places in the terminal definition for CentOS 7 they seem to use Unicode characters for emphasis. Examples are en-dashes when automatically hyphenating man pages, or even in something as simple as error messages.
Here's one example, where I used hexdump to echo the characters in an intentionally-failed "rm" command:
# rm nothing > xxc 2>&1
# hexdump xxc
00000000 72 6d 3a 20 63 61 6e 6e 6f 74 20 72 65 6d 6f 76 |rm: cannot remov|
00000010 65 20 e2 80 98 6e 6f 74 68 69 6e 67 e2 80 99 3a |e ...nothing...:|
00000020 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 | No such file or|
00000030 20 64 69 72 65 63 74 6f 72 79 0a | directory.|
0000003b
iTerm renders this with "a circumflex" characters:
rm: cannot remove ânothingâ: No such file or directory
What should have happened:
In Apple's Terminal, this gets rendered as:
rm: cannot remove ‘nothing’: No such file or directory