Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files containg non ASCII non-UTF8 chars report zero lines #114

Open
aslze opened this issue Apr 13, 2019 · 2 comments
Open

Files containg non ASCII non-UTF8 chars report zero lines #114

aslze opened this issue Apr 13, 2019 · 2 comments

Comments

@aslze
Copy link

aslze commented Apr 13, 2019

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
Copy link

bnutzer commented May 28, 2019

#metoo, but german umlauts in ISO-8859 encoded files. Makes loc miss more than 50% of our code

@bnutzer
Copy link

bnutzer commented May 28, 2019

Sample file:

testheader.h.txt

(.h file renamed to .txt due to github restrictions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants