/[pcre]/code/trunk/doc/pcrebuild.3
ViewVC logotype

Diff of /code/trunk/doc/pcrebuild.3

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

revision 345 by ph10, Mon Apr 28 15:10:02 2008 UTC revision 391 by ph10, Tue Mar 17 21:16:01 2009 UTC
# Line 38  to the \fBconfigure\fP command. Line 38  to the \fBconfigure\fP command.
38  .SH "UTF-8 SUPPORT"  .SH "UTF-8 SUPPORT"
39  .rs  .rs
40  .sp  .sp
41  To build PCRE with support for UTF-8 character strings, add  To build PCRE with support for UTF-8 Unicode character strings, add
42  .sp  .sp
43    --enable-utf8    --enable-utf8
44  .sp  .sp
# Line 46  to the \fBconfigure\fP command. Of itsel Line 46  to the \fBconfigure\fP command. Of itsel
46  strings as UTF-8. As well as compiling PCRE with this option, you also have  strings as UTF-8. As well as compiling PCRE with this option, you also have
47  have to set the PCRE_UTF8 option when you call the \fBpcre_compile()\fP  have to set the PCRE_UTF8 option when you call the \fBpcre_compile()\fP
48  function.  function.
49    .P
50    If you set --enable-utf8 when compiling in an EBCDIC environment, PCRE expects
51    its input to be either ASCII or UTF-8 (depending on the runtime option). It is
52    not possible to support both EBCDIC and UTF-8 codes in the same version of the
53    library. Consequently, --enable-utf8 and --enable-ebcdic are mutually
54    exclusive.
55  .  .
56  .SH "UNICODE CHARACTER PROPERTY SUPPORT"  .SH "UNICODE CHARACTER PROPERTY SUPPORT"
57  .rs  .rs
# Line 72  documentation. Line 78  documentation.
78  .SH "CODE VALUE OF NEWLINE"  .SH "CODE VALUE OF NEWLINE"
79  .rs  .rs
80  .sp  .sp
81  By default, PCRE interprets character 10 (linefeed, LF) as indicating the end  By default, PCRE interprets the linefeed (LF) character as indicating the end
82  of a line. This is the normal newline character on Unix-like systems. You can  of a line. This is the normal newline character on Unix-like systems. You can
83  compile PCRE to use character 13 (carriage return, CR) instead, by adding  compile PCRE to use carriage return (CR) instead, by adding
84  .sp  .sp
85    --enable-newline-is-cr    --enable-newline-is-cr
86  .sp  .sp
# Line 254  EBCDIC environment by adding Line 260  EBCDIC environment by adding
260  .sp  .sp
261  to the \fBconfigure\fP command. This setting implies  to the \fBconfigure\fP command. This setting implies
262  --enable-rebuild-chartables. You should only use it if you know that you are in  --enable-rebuild-chartables. You should only use it if you know that you are in
263  an EBCDIC environment (for example, an IBM mainframe operating system).  an EBCDIC environment (for example, an IBM mainframe operating system). The
264    --enable-ebcdic option is incompatible with --enable-utf8.
265  .  .
266  .SH "PCREGREP OPTIONS FOR COMPRESSED FILE SUPPORT"  .SH "PCREGREP OPTIONS FOR COMPRESSED FILE SUPPORT"
267  .rs  .rs
# Line 322  Cambridge CB2 3QH, England. Line 329  Cambridge CB2 3QH, England.
329  .rs  .rs
330  .sp  .sp
331  .nf  .nf
332  Last updated: 13 April 2008  Last updated: 17 March 2009
333  Copyright (c) 1997-2008 University of Cambridge.  Copyright (c) 1997-2009 University of Cambridge.
334  .fi  .fi

Legend:
Removed from v.345  
changed lines
  Added in v.391

  ViewVC Help
Powered by ViewVC 1.1.5