@@ -46,7 +46,9 @@ iconvlist()
46
46
Generally case is ignored when specifying an encoding.
47
47
48
48
On most platforms \code {iconvlist } provides an alphabetical list of
49
- the supported encodings. On others , the information is on the man
49
+ the supported encodings (including aliases ). On \samp {musl } (as used
50
+ by Alpine Linux and other lightweight Linux distributions ) the listing
51
+ is incomplete. On others , the information is on the man
50
52
page for \code {iconv(5 )} or elsewhere in the man pages (but beware
51
53
that the system command \code {iconv } may not support the same set of
52
54
encodings as the C functions \R calls ). Unfortunately , the names are
@@ -62,7 +64,7 @@ iconvlist()
62
64
63
65
Encoding \code {" ASCII" } is accepted , and on most systems \code {" C" }
64
66
and \code {" POSIX" } are synonyms for ASCII. Where
65
- \code {" ASCII/TRANSLIT" } is unsupported by the OS , \code {" ASCII" } is
67
+ \code {" ASCII// TRANSLIT" } is unsupported by the OS , \code {" ASCII" } is
66
68
used with \code {sub = " c99" } if from UTF - 8 , else \code {sub =
67
69
" ?" }. (However , \I {musl }' s version of \c ode{"ASCII"} substitutes
68
70
\c ode{*}.)
@@ -177,10 +179,8 @@ iconvlist()
177
179
\n ote{
178
180
The most portable name for the ISO 8859-15 encoding, commonly known as
179
181
\s Quote{Latin 9}, is \c ode{"iso885915"}: most platforms support both
180
- \c ode{"latin-9"} and\c ode{"latin9"} but GNU \s amp{libiconv} does not
181
- support the latter. \s amp{musl} (as used by Alpine Linux and other
182
- lightweight Linux distributions) supports neither, but \R remaps there
183
- to \c ode{"iso885915"}.
182
+ \c ode{"latin-9"} and \c ode{"latin9"} % (including \s amp{musl})
183
+ but GNU \s amp{libiconv} does not support the latter.
184
184
185
185
Encoding names \c ode{"utf8"}, \c ode{"mac"} and \c ode{"macroman"} are
186
186
not portable. \c ode{"utf8"} is converted to \c ode{"UTF-8"} for
0 commit comments