/[pcre]/code/trunk/testdata/testoutput26
ViewVC logotype

Contents of /code/trunk/testdata/testoutput26

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1090 - (show annotations)
Tue Oct 16 15:55:48 2012 UTC (8 years, 6 months ago) by chpe
File size: 271 byte(s)
pcre32: pcretest: Don't convert data line to UTF-8 first

While reading the data lines, directly put them into the 8, 16 or
32 bit buffers instead of first converting them into UTF-8 and only
afterwards converting that buffer to 16/32 bit. This is necessary so
the in 32 bit mode the \x{} escapes can use the full 32-bit range
(while the non-standard 5/6 byte UTF-8 sequences can only express
characters up to 31-bits).
1 /-- Tests for the 32-bit library with UTF-32 support only */
2
3 /-- Non-UTF characters --/
4
5 /\x{110000}/8
6 Failed: character value in \x{...} sequence is too large at offset 9
7
8 /\C/8
9 \x{110000}
10 Error -10 (bad UTF-32 string) offset=0 reason=3
11
12 /-- End of testinput26 --/

  ViewVC Help
Powered by ViewVC 1.1.5