The R Project SVN R

Rev

Rev 82587 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 82587 Rev 82597
Line 73... Line 73...
73
  \code{\link{substr}} does preserve the encoding, and
73
  \code{\link{substr}} does preserve the encoding, and
74
  \code{\link{chartr}}, \code{\link{tolower}} and \code{\link{toupper}}
74
  \code{\link{chartr}}, \code{\link{tolower}} and \code{\link{toupper}}
75
  preserve UTF-8 encoding on systems with Unicode wide characters.  With
75
  preserve UTF-8 encoding on systems with Unicode wide characters.  With
76
  their \code{fixed} and \code{perl} options, \code{\link{strsplit}},
76
  their \code{fixed} and \code{perl} options, \code{\link{strsplit}},
77
  \code{\link{sub}} and \code{gsub} will give a marked UTF-8 result if
77
  \code{\link{sub}} and \code{gsub} will give a marked UTF-8 result if
-
 
78
  any of the inputs are UTF-8.
-
 
79
 
78
  any of the inputs are UTF-8.  \code{\link{strsplit}}, \code{\link{sub}} 
80
 %% \code{\link{strsplit}}, \code{\link{sub}} 
79
  and \code{gsub} will mark their result \code{"bytes"} if it is non-ASCII
81
 %%  and \code{gsub} will mark their result \code{"bytes"} if it is non-ASCII
80
  and any of the inputs are marked \code{"bytes"} or \code{useBytes = TRUE}
82
 %%  and any of the inputs are marked \code{"bytes"} or \code{useBytes = TRUE}
81
  was used.
83
 %% was used.
82
 
84
 
83
  \code{\link{paste}} and \code{\link{sprintf}} return elements marked
85
  \code{\link{paste}} and \code{\link{sprintf}} return elements marked
84
  as bytes if any of the corresponding inputs is marked as bytes, and
86
  as bytes if any of the corresponding inputs is marked as bytes, and
85
  otherwise marked as UTF-8 if any of the inputs is marked as UTF-8.
87
  otherwise marked as UTF-8 if any of the inputs is marked as UTF-8.
86
 
88