Handle non ascii files

Issue #37 new
JorgeC created an issue

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)

  1. Gaëtan Lehmann

    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.

  2. Gaëtan Lehmann

    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)
    
  3. JorgeC reporter

    for the record i guess, currently we are keeping a list of files that brake the analysis so we exclude them.

  4. Log in to comment