Handle non ascii files
Issue #37
new
Sometimes some files need to be in other encoding to test some functions. This brakes vera++. See file in attachment
Command: vera++.exe -nodup -showrules nonasciicharacters.cpp
Vera: 1.2.1
Comments (3)
-
-
For the record the error is
/Users/glehmann/Downloads/nonasciicharacters.cpp:7: illegal token in column 28, giving up (hint: fix the file or remove it from the working set)
-
reporter for the record i guess, currently we are keeping a list of files that brake the analysis so we exclude them.
- Log in to comment
It works with an utf8 file, but unfortunately not with this file which is encoded in Windows Lating 1. The exception comes from the boost wave parser — unfortunately I'm not sure what to do to enhance the situation.