Files containg non ASCII non-UTF8 chars report zero lines
aslze opened this issue · 2 comments
aslze commented
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.
bnutzer commented
#metoo, but german umlauts in ISO-8859 encoded files. Makes loc miss more than 50% of our code
bnutzer commented