LoginSignup
2
0

More than 3 years have passed since last update.

neovimで日本語が文字化けする

Last updated at Posted at 2020-06-11

TL;DR

これをvimrcに追加(neovimの場合は、.config/neovim/init.vim?

set encoding=utf-8
set fileencodings=utf-8
set fileformats=unix,dos,mac

lang en_US.UTF-8

1. よくある対処法

set encodeingを変えてねっていうやつ

https://qiita.com/meio/items/08143eacd174ac0f7bd5
https://qiita.com/t_gata/items/e4f72016b47a0d6fc5eb

2. 1で治らない場合は、langを変更

lang en_US.UTF-8

参考にしたページは、2020/6/11時点でこのサイトは動いてなく、Googleのキャッシュで閲覧しました
たどりつきにくいかもなので、本記事作ってます。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0