| 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-2019 R Core Team
|
3 |
% Copyright 1995-2020 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 84... |
Line 84... |
| 84 |
\code{\link{duplicated}} and \code{\link{unique}} all match in UTF-8
|
84 |
\code{\link{duplicated}} and \code{\link{unique}} all match in UTF-8
|
| 85 |
if any of the elements are marked as UTF-8.
|
85 |
if any of the elements are marked as UTF-8.
|
| 86 |
|
86 |
|
| 87 |
There is some ambiguity as to what is meant by a \sQuote{Latin-1}
|
87 |
There is some ambiguity as to what is meant by a \sQuote{Latin-1}
|
| 88 |
locale, since some OSes (notably Windows) make use of character
|
88 |
locale, since some OSes (notably Windows) make use of character
|
| 89 |
positions used for control characters in the ISO 8859-1 character set.
|
89 |
positions undefined (or used for control characters) in the ISO 8859-1
|
| 90 |
How such characters are interpreted is system-dependent but as from \R
|
90 |
character set. How such characters are interpreted is
|
| 91 |
3.5.0 they are if possible interpreted as per Windows codepage 1252
|
91 |
system-dependent but as from \R 3.5.0 they are if possible interpreted
|
| 92 |
(which Microsoft calls \sQuote{Windows Latin 1 (ANSI)}) when
|
92 |
as per Windows codepage 1252 (which Microsoft calls \sQuote{Windows
|
| 93 |
converting to e.g.\sspace{}UTF-8.
|
93 |
Latin 1 (ANSI)}) when converting to e.g.\sspace{}UTF-8.
|
| 94 |
}
|
94 |
}
|
| 95 |
\value{
|
95 |
\value{
|
| 96 |
A character vector.
|
96 |
A character vector.
|
| 97 |
|
97 |
|
| 98 |
For \code{enc2utf8} encodings are always marked: they are for
|
98 |
For \code{enc2utf8} encodings are always marked: they are for
|