You are not logged in.
Posting this here rather than vim-related forums since I'm quite sure this is some weird UTF-8 Arch issue, as I have identical vim setups running on several other computers without an issue.
Using conceal in vim results in the following: 
My .vimrc file consists of
set conceallevel=2
syntax on
set uncoding=utf-8I have tried this on urxvt using Terminus and DejaVu Sans, as well as xterm with whatever their default font is. The output is always garbled. Any suggestions? This problem has persisted since I set up this VM (about six months ago), and has persisted through the various updates I've ran since then. I've set my locale to en_US.UTF-8. Never really had any font-related issues, so I'm not really sure where to begin with troubleshooting.
Last edited by asportking (2021-02-16 23:41:39)
Offline
What's the output of `locale` and `locale -a`?
Offline
[] locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=[] locale-a
C
POSIX
en_US.utf8Offline
So that very well may be your problem. This:
I've set my locale to en_US.UTF-8.
Is wrong, you have it set to C, which is a non-UTF8 locale.
Offline
Hm, so my statement was based off of the fact that I've ran locale-gen, which outputs
Generating locales...
en_US.UTF-8... done
Generation complete.Shouldn't that be enough?
EDIT: Looks like I forgot to make /etc/locale.conf on this installation, thanks.
Last edited by asportking (2021-02-17 00:30:21)
Offline
You have made it possible to use the locale, but you have not chosen it.
https://wiki.archlinux.org/index.php/Locale
It was also mentioned in the installation guide: https://wiki.archlinux.org/index.php/In … calization
Edit: You found it as well.
Last edited by progandy (2021-02-17 00:32:33)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline