/[pcre]/code/trunk/doc/html/pcre16.html
ViewVC logotype

Diff of /code/trunk/doc/html/pcre16.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1193 by ph10, Sat Jun 2 11:03:06 2012 UTC revision 1194 by ph10, Wed Oct 31 17:42:29 2012 UTC
# Line 283  page. Line 283  page.
283  <P>  <P>
284  For the <b>pcre16_config()</b> function there is an option PCRE_CONFIG_UTF16  For the <b>pcre16_config()</b> function there is an option PCRE_CONFIG_UTF16
285  that returns 1 if UTF-16 support is configured, otherwise 0. If this option is  that returns 1 if UTF-16 support is configured, otherwise 0. If this option is
286  given to <b>pcre_config()</b>, or if the PCRE_CONFIG_UTF8 option is given to  given to <b>pcre_config()</b> or <b>pcre32_config()</b>, or if the
287  <b>pcre16_config()</b>, the result is the PCRE_ERROR_BADOPTION error.  PCRE_CONFIG_UTF8 or PCRE_CONFIG_UTF32 option is given to <b>pcre16_config()</b>,
288    the result is the PCRE_ERROR_BADOPTION error.
289  </P>  </P>
290  <br><a name="SEC15" href="#TOC1">CHARACTER CODES</a><br>  <br><a name="SEC15" href="#TOC1">CHARACTER CODES</a><br>
291  <P>  <P>
# Line 327  page. The UTF-16 errors are: Line 328  page. The UTF-16 errors are:
328    PCRE_UTF16_ERR1  Missing low surrogate at end of string    PCRE_UTF16_ERR1  Missing low surrogate at end of string
329    PCRE_UTF16_ERR2  Invalid low surrogate follows high surrogate    PCRE_UTF16_ERR2  Invalid low surrogate follows high surrogate
330    PCRE_UTF16_ERR3  Isolated low surrogate    PCRE_UTF16_ERR3  Isolated low surrogate
331    PCRE_UTF16_ERR4  Invalid character 0xfffe    PCRE_UTF16_ERR4  Non-character
332  </PRE>  </PRE>
333  </P>  </P>
334  <br><a name="SEC17" href="#TOC1">ERROR TEXTS</a><br>  <br><a name="SEC17" href="#TOC1">ERROR TEXTS</a><br>
# Line 348  files, but it can be used for testing th Line 349  files, but it can be used for testing th
349  command line option <b>-16</b>, patterns and subject strings are converted from  command line option <b>-16</b>, patterns and subject strings are converted from
350  8-bit to 16-bit before being passed to PCRE, and the 16-bit library functions  8-bit to 16-bit before being passed to PCRE, and the 16-bit library functions
351  are used instead of the 8-bit ones. Returned 16-bit strings are converted to  are used instead of the 8-bit ones. Returned 16-bit strings are converted to
352  8-bit for output. If the 8-bit library was not compiled, <b>pcretest</b>  8-bit for output. If both the 8-bit and the 32-bit libraries were not compiled,
353  defaults to 16-bit and the <b>-16</b> option is ignored.  <b>pcretest</b> defaults to 16-bit and the <b>-16</b> option is ignored.
354  </P>  </P>
355  <P>  <P>
356  When PCRE is being built, the <b>RunTest</b> script that is called by "make  When PCRE is being built, the <b>RunTest</b> script that is called by "make
357  check" uses the <b>pcretest</b> <b>-C</b> option to discover which of the 8-bit  check" uses the <b>pcretest</b> <b>-C</b> option to discover which of the 8-bit,
358  and 16-bit libraries has been built, and runs the tests appropriately.  16-bit and 32-bit libraries has been built, and runs the tests appropriately.
359  </P>  </P>
360  <br><a name="SEC20" href="#TOC1">NOT SUPPORTED IN 16-BIT MODE</a><br>  <br><a name="SEC20" href="#TOC1">NOT SUPPORTED IN 16-BIT MODE</a><br>
361  <P>  <P>

Legend:
Removed from v.1193  
changed lines
  Added in v.1194

  ViewVC Help
Powered by ViewVC 1.1.5