Hong Xu wrote: > When build vim with MSVC, there is always a warning message like this > when compiling each source file: > > x:\path\to\source\ascii.h : warning C4819: The file contains a character > that cannot be represented in the current code page (936). Save the > file in Unicode format to prevent data loss > > The attached patch will fix this warning partially(for ascii.h and > spell.c), and I think that we should > avoid using characters whose ascii code is greater than 128 in C source > file. Warnings still exist in charset.c and digraph.c, and I see there > are many characters that could lead to this warning, so I have not fixed > this problem there.
I can include this. However, the best solution is probably to make the compiler not give the warning message. -- Living on Earth includes an annual free trip around the Sun. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
