The R Project SVN R

Rev

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

Rev 73791 Rev 76967
Line 1... Line 1...
1
% File src/library/base/man/Encoding.Rd
1
% File src/library/base/man/Encoding.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2017 R Core Team
3
% Copyright 1995-2019 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{Encoding}
6
\name{Encoding}
7
\alias{Encoding}
7
\alias{Encoding}
8
\alias{Encoding<-}
8
\alias{Encoding<-}
Line 35... Line 35...
35
  \code{"unknown"}.  ASCII strings will never be marked with a declared
35
  \code{"unknown"}.  ASCII strings will never be marked with a declared
36
  encoding, since their representation is the same in all supported
36
  encoding, since their representation is the same in all supported
37
  encodings.  Strings marked as \code{"bytes"} are intended to be
37
  encodings.  Strings marked as \code{"bytes"} are intended to be
38
  non-ASCII strings which should be manipulated as bytes, and never
38
  non-ASCII strings which should be manipulated as bytes, and never
39
  converted to a character encoding (so writing them to a text file is
39
  converted to a character encoding (so writing them to a text file is
-
 
40
  supported only by \code{writeLines(useBytes = TRUE)}).
40
  not supported). % non-bug report PR#16327
41
  % non-bug report PR#16327
41
 
42
 
42
  \code{enc2native} and \code{enc2utf8} convert elements of character
43
  \code{enc2native} and \code{enc2utf8} convert elements of character
43
  vectors to the native encoding or UTF-8 respectively, taking any
44
  vectors to the native encoding or UTF-8 respectively, taking any
44
  marked encoding into account.  They are \link{primitive} functions,
45
  marked encoding into account.  They are \link{primitive} functions,
45
  designed to do minimal copying.
46
  designed to do minimal copying.