[pcre-dev] [Bug 2699] New: UTF8 error

Góra strony
Delete this message
Autor: admin
Data:  
Dla: pcre-dev
Nowe tematy: [pcre-dev] [Bug 2699] UTF8 error
Temat: [pcre-dev] [Bug 2699] New: UTF8 error
https://bugs.exim.org/show_bug.cgi?id=2699

            Bug ID: 2699
           Summary: UTF8 error
           Product: PCRE
           Version: 8.44
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Documentation
          Assignee: Philip.Hazel@???
          Reporter: c_moi_l_master@???
                CC: pcre-dev@???


In the pcre2.txt documentation, the utf8 errors stops at PCRE2_ERROR_UTF8_ERR21
but the source code goes up to '23':

     /* 20 */
     "UTF-8 error: overlong 5-byte sequence\0"
     "UTF-8 error: overlong 6-byte sequence\0"
     "UTF-8 error: isolated byte with 0x80 bit set\0"
     "UTF-8 error: illegal byte (0xfe or 0xff)\0"
     "UTF-16 error: missing low surrogate at end\0"
     /* 25 */
     "UTF-16 error: invalid low surrogate\0"


pcre2test can return a -22 utf8 error, the doc should document error 22 and 23.

--
You are receiving this mail because:
You are on the CC list for the bug.