Open aslze opened 5 years ago
I saw some of my C++ files report all zero lines and did not understand why. Then I noticed they contained some non ASCII chars in comments or strings, and the files have Windows 1252 encoding. If I reencode those as UTF8, they work.
Sample file:
testheader.h.txt
(.h file renamed to .txt due to github restrictions)
I saw some of my C++ files report all zero lines and did not understand why. Then I noticed they contained some non ASCII chars in comments or strings, and the files have Windows 1252 encoding. If I reencode those as UTF8, they work.