getEncodingAliases
Encoding Name Aliases

Description

Retrieve all aliases for a given string encoding name.

Usage

getEncodingAliases(encoding)

Arguments

encoding a character string naming a string encoding.
Value
a character vector of valid aliases to encoding that would be acceptable to iconv, or character(0) if encoding is not a valid encoding.
See Also
Encoding, iconv, isValidEncoding.
Examples
getEncodingAliases("latin1")
# result includes "LATIN1", "ISO-8859-1", and others
getEncodingAliases("unknown-encoding")
# character(0)
Package terrUtils version 6.0.0-69
Package Index