version 1.1.1.2, 2012/02/21 23:50:25
|
version 1.1.1.4, 2013/07/22 08:25:57
|
Line 49
|
Line 49
|
|
|
/ÃÃÃxxx/8?DZSS |
/ÃÃÃxxx/8?DZSS |
|
|
/abc/8 | /badutf/8 |
Ã] | \xdf |
à | \xef |
ÃÃÃ | \xef\x80 |
ÃÃÃ\? | \xf7 |
\xe1\x88 | \xf7\x80 |
\P\xe1\x88 | \xf7\x80\x80 |
\P\P\xe1\x88 | \xfb |
XX\xea | \xfb\x80 |
\O0XX\xea | \xfb\x80\x80 |
\O1XX\xea | \xfb\x80\x80\x80 |
\O2XX\xea | \xfd |
XX\xf1 | \xfd\x80 |
XX\xf8 | \xfd\x80\x80 |
XX\xfc | \xfd\x80\x80\x80 |
ZZ\xea\xaf\x20YY | \xfd\x80\x80\x80\x80 |
ZZ\xfd\xbf\xbf\x2f\xbf\xbfYY | \xdf\x7f |
ZZ\xfd\xbf\xbf\xbf\x2f\xbfYY | \xef\x7f\x80 |
ZZ\xfd\xbf\xbf\xbf\xbf\x2fYY | \xef\x80\x7f |
ZZ\xffYY | \xf7\x7f\x80\x80 |
ZZ\xfeYY | \xf7\x80\x7f\x80 |
| \xf7\x80\x80\x7f |
| \xfb\x7f\x80\x80\x80 |
| \xfb\x80\x7f\x80\x80 |
| \xfb\x80\x80\x7f\x80 |
| \xfb\x80\x80\x80\x7f |
| \xfd\x7f\x80\x80\x80\x80 |
| \xfd\x80\x7f\x80\x80\x80 |
| \xfd\x80\x80\x7f\x80\x80 |
| \xfd\x80\x80\x80\x7f\x80 |
| \xfd\x80\x80\x80\x80\x7f |
| \xed\xa0\x80 |
| \xc0\x8f |
| \xe0\x80\x8f |
| \xf0\x80\x80\x8f |
| \xf8\x80\x80\x80\x8f |
| \xfc\x80\x80\x80\x80\x8f |
| \x80 |
| \xfe |
| \xff |
|
|
|
/badutf/8 |
|
\xfb\x80\x80\x80\x80 |
|
\xfd\x80\x80\x80\x80\x80 |
|
\xf7\xbf\xbf\xbf |
|
|
|
/shortutf/8 |
|
\P\P\xdf |
|
\P\P\xef |
|
\P\P\xef\x80 |
|
\P\P\xf7 |
|
\P\P\xf7\x80 |
|
\P\P\xf7\x80\x80 |
|
\P\P\xfb |
|
\P\P\xfb\x80 |
|
\P\P\xfb\x80\x80 |
|
\P\P\xfb\x80\x80\x80 |
|
\P\P\xfd |
|
\P\P\xfd\x80 |
|
\P\P\xfd\x80\x80 |
|
\P\P\xfd\x80\x80\x80 |
|
\P\P\xfd\x80\x80\x80\x80 |
|
|
/anything/8 |
/anything/8 |
\xc0\x80 |
\xc0\x80 |
\xc1\x8f |
\xc1\x8f |
Line 200 correctly, but that messes up comparisons). --/
|
Line 241 correctly, but that messes up comparisons). --/
|
/-- This tests the stricter UTF-8 check according to RFC 3629. --/ |
/-- This tests the stricter UTF-8 check according to RFC 3629. --/ |
|
|
/X/8 |
/X/8 |
\x{0}\x{d7ff}\x{e000}\x{10ffff} |
|
\x{d800} |
\x{d800} |
\x{d800}\? |
\x{d800}\? |
\x{da00} |
\x{da00} |
Line 217 correctly, but that messes up comparisons). --/
|
Line 257 correctly, but that messes up comparisons). --/
|
/(*UTF8)\x{1234}/ |
/(*UTF8)\x{1234}/ |
abcd\x{1234}pqr |
abcd\x{1234}pqr |
|
|
/(*CRLF)(*UTF8)(*BSR_UNICODE)a\Rb/I | /(*CRLF)(*UTF)(*BSR_UNICODE)a\Rb/I |
|
|
/\h/SI8 |
/\h/SI8 |
ABC\x{09} |
ABC\x{09} |
Line 276 correctly, but that messes up comparisons). --/
|
Line 316 correctly, but that messes up comparisons). --/
|
/\R/SI8 |
/\R/SI8 |
|
|
/\777/8DZ |
/\777/8DZ |
|
|
|
/\w+\x{C4}/8BZ |
|
a\x{C4}\x{C4} |
|
|
|
/\w+\x{C4}/8BZT1 |
|
a\x{C4}\x{C4} |
|
|
|
/\W+\x{C4}/8BZ |
|
!\x{C4} |
|
|
|
/\W+\x{C4}/8BZT1 |
|
!\x{C4} |
|
|
|
/\W+\x{A1}/8BZ |
|
!\x{A1} |
|
|
|
/\W+\x{A1}/8BZT1 |
|
!\x{A1} |
|
|
|
/X\s+\x{A0}/8BZ |
|
X\x20\x{A0}\x{A0} |
|
|
|
/X\s+\x{A0}/8BZT1 |
|
X\x20\x{A0}\x{A0} |
|
|
|
/\S+\x{A0}/8BZ |
|
X\x{A0}\x{A0} |
|
|
|
/\S+\x{A0}/8BZT1 |
|
X\x{A0}\x{A0} |
|
|
|
/\x{a0}+\s!/8BZ |
|
\x{a0}\x20! |
|
|
|
/\x{a0}+\s!/8BZT1 |
|
\x{a0}\x20! |
|
|
|
/A/8 |
|
\x{ff000041} |
|
\x{7f000041} |
|
|
|
/(*UTF8)abc/9 |
|
|
|
/abc/89 |
|
|
/-- End of testinput15 --/ |
/-- End of testinput15 --/ |