| 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-2020 R Core Team
|
3 |
% Copyright 1995-2021 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 45... |
Line 45... |
| 45 |
marked encoding into account. They are \link{primitive} functions,
|
45 |
marked encoding into account. They are \link{primitive} functions,
|
| 46 |
designed to do minimal copying.
|
46 |
designed to do minimal copying.
|
| 47 |
|
47 |
|
| 48 |
There are other ways for character strings to acquire a declared
|
48 |
There are other ways for character strings to acquire a declared
|
| 49 |
encoding apart from explicitly setting it (and these have changed as
|
49 |
encoding apart from explicitly setting it (and these have changed as
|
| - |
|
50 |
\R has evolved). The parser marks strings containing \samp{\\u} or
|
| 50 |
\R has evolved). Functions \code{\link{scan}},
|
51 |
\samp{\\U} escapes. Functions \code{\link{scan}},
|
| 51 |
\code{\link{read.table}}, \code{\link{readLines}}, and
|
52 |
\code{\link{read.table}}, \code{\link{readLines}}, and
|
| 52 |
\code{\link{parse}} have an \code{encoding} argument that is used to
|
53 |
\code{\link{parse}} have an \code{encoding} argument that is used to
|
| 53 |
declare encodings, \code{\link{iconv}} declares encodings from its
|
54 |
declare encodings, \code{\link{iconv}} declares encodings from its
|
| 54 |
\code{to} argument, and console input in suitable locales is also
|
55 |
\code{to} argument, and console input in suitable locales is also
|
| 55 |
declared. \code{\link{intToUtf8}} declares its output as
|
56 |
declared. \code{\link{intToUtf8}} declares its output as
|