Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#508 Pb with LineLength and accents in UTF-8

_release_4.3
closed
nobody
usage (27)
5
2014-01-03
2008-03-27
LEFEBVRE Fabrice
No

I am using com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck with a warning severity to prevent my lines exceding 120 characters .
The problem is that I had to pass a project from ISO8859-1 to UTF-8 and some lines that contains accents are now in warning...For example I have a warning for that line :

//~ Méthodes ///////////////////////////////////////////////////////////////////////////////////////////////////////

But not for this one :

//~ Methodes ///////////////////////////////////////////////////////////////////////////////////////////////////////

As you can see the only difference is the "é" that has been replaced by a "e".
So I think that there is a problème with the method wich calculate the length of a line...

Discussion

  • Roman Ivanov
    Roman Ivanov
    2014-01-03

    • status: open --> closed
     
  • Roman Ivanov
    Roman Ivanov
    2014-01-03

    not a problem any more, checkstyle 5.6.