]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0530: xxd: MSVC warning about non-ASCII character v9.1.0530
authorKen Takata <kentkt@csc.jp>
Thu, 4 Jul 2024 17:35:48 +0000 (19:35 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 4 Jul 2024 17:35:48 +0000 (19:35 +0200)
commit470c0db2b3a592a7fe47b17818d4d50ed79360b3
tree9196cd6524a05a558a3a6fb0495729974ed3c0bb
parent749ba0f6d922b3f6b54a66543c214479492b5a0e
patch 9.1.0530: xxd: MSVC warning about non-ASCII character

Problem:  xxd: MSVC warning about non-ASCII character
Solution: Specify source-charset:utf-8 in Makefile (Ken Takata)

xxd.c has non-ASCII-character comments. This causes the following
warning on MSVC:
```
warning C4819: The file contains a character that cannot be represented
in the current code page (932). Save the file in Unicode format to
prevent data loss.
```

Add the `/source-charset:utf-8` option to avoid this.

closes: #15119

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/version.c
src/xxd/Make_mvc.mak