The R Project SVN R

Rev

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

Rev 81697 Rev 82587
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.
78
  any of the inputs are UTF-8.  \code{\link{strsplit}}, \code{\link{sub}} 
-
 
79
  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}
-
 
81
  was used.
79
 
82
 
80
  \code{\link{paste}} and \code{\link{sprintf}} return elements marked
83
  \code{\link{paste}} and \code{\link{sprintf}} return elements marked
81
  as bytes if any of the corresponding inputs is marked as bytes, and
84
  as bytes if any of the corresponding inputs is marked as bytes, and
82
  otherwise marked as UTF-8 if any of the inputs is marked as UTF-8.
85
  otherwise marked as UTF-8 if any of the inputs is marked as UTF-8.
83
 
86