Neovim / Vim UTF-8 characters not working

49 views Asked by At

I'm new to nvim and vim in general. been using for about a month. I wasn't really bother about characters only really needed latin-1. However, I've been installing a lot more plugins to customize my env, and for note-taking and assignments. I've noticed that some of my characters aren't displaying correctly. can anyone pls help? this can be ez fix but nothing works. my nvim rc example of env

I'll post a screenshot to address the missing characters, I keep getting the replacement char "?"

any help is appreciated.

changed config file, changed bashrc file, and .vimrc. nothing works :(

1

There are 1 answers

1
soulseeker93 On

thanks Giacomo Catenazzi. I thought it was the actual piece of software (neovim), and not the terminal that was causing this encoding issue. This could be because I am using WSL2. I should've stated this in the original prompt.

Eventually, this made me realize that the characters are likely not available in the default font (Consolas).

Just never thought the problem was the default font, it seems like an issue that would never be an issue to begin with. Maybe WSL?

P.S. I used nerdfonts for my terminal. If anyone has an issue, just change font in terminal properties.

Thank you!