FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16873&edit=1

ID: 16873
Updated by: gsherwood@squiz.net
Reported By: typo3-community at gmx dot de
Summary: Line length detection is wrong on UTF8 files
-Status: Open
+Status: Bogus
-Type: Bug
+Type: Feature/Change Request
Package: PHP_CodeSniffer
Operating System: UNIX
Package Version: 1.2.1
PHP Version: Irrelevant
-Assigned To:
+Assigned To: squiz
Roadmap Versions:
New Comment:

-Status: Open
+Status: Bogus
-Type: Bug
+Type: Feature/Change Request
-Assigned To:
+Assigned To: squiz
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PEAR.

Duplicate of feature request #14237


Previous Comments:
------------------------------------------------------------------------

[2009-12-04 15:53:17] daniela_waranie

Description:
------------
The following text contains 44 characters (incl. 35x 'a') and will be
calculated from PHPsniffer as 86 characters. A fault.

Test script:
---------------
$text='äääääääääääääääääääääääääääääääääää';


Expected result:
----------------
Should be counted in UTF8 files as 44 characters.

Actual result:
--------------
PHPsniffer calculates it as 86 characters

------------------------------------------------------------------------

Search Discussions

  • Gsherwood at Dec 7, 2009 at 2:32 am
    Edit report at http://pear.php.net/bugs/bug.php?id=16873&edit=1

    ID: 16873
    Updated by: gsherwood@squiz.net
    Reported By: typo3-community at gmx dot de
    Summary: Line length detection is wrong on UTF8 files
    Status: Bogus
    Type: Feature/Change Request
    Package: PHP_CodeSniffer
    Operating System: UNIX
    Package Version: 1.2.1
    PHP Version: Irrelevant
    Assigned To: squiz
    Roadmap Versions:
    New Comment:

    Sorry, that automated message is a lot meaner than I would have liked
    :)


    Previous Comments:
    ------------------------------------------------------------------------

    [2009-12-07 03:31:30] squiz

    -Status: Open
    +Status: Bogus
    -Type: Bug
    +Type: Feature/Change Request
    -Assigned To:
    +Assigned To: squiz
    Please do not submit the same bug more than once. An existing
    bug report already describes this very problem. Even if you feel
    that your issue is somewhat different, the resolution is likely
    to be the same. Because of this, we hope you add your comments
    to the existing bug instead.

    Thank you for your interest in PEAR.

    Duplicate of feature request #14237

    ------------------------------------------------------------------------

    [2009-12-04 15:53:17] daniela_waranie

    Description:
    ------------
    The following text contains 44 characters (incl. 35x 'a') and will be
    calculated from PHPsniffer as 86 characters. A fault.

    Test script:
    ---------------
    $text='äääääääääääääääääääääääääääääääääää';


    Expected result:
    ----------------
    Should be counted in UTF8 files as 44 characters.

    Actual result:
    --------------
    PHPsniffer calculates it as 86 characters

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 7, '09 at 2:31a
activeDec 7, '09 at 2:32a
posts2
users1
websitepear.php.net

1 user in discussion

Gsherwood: 2 posts

People

Translate

site design / logo © 2022 Grokbase