老师您好,
我发现我的MSVC和MinGW统计字符都是可以的,但是linux系统不行,
我是装的Debian
CountCharactersInFile error: Invalid or incomplete multibyte or wide character
CountCharactersInFile(“data/sanguo_utf8.txt”, CHARSET_UTF8): -3
CountCharactersInFile error: Invalid or incomplete multibyte or wide character
CountCharactersInFile(“data/sanguo_gbk.txt”, CHARSET_GBK): -3
报宽字符 有问题,把您代码粘过去跑,结果也是如此
ubuntu和Debian系统问题吗?