stri_enc_list

0th

Percentile

List Known Character Encodings

Gives the list of encodings that are supported by ICU.

Usage
stri_enc_list(simplify = FALSE)
Arguments
simplify
single logical value; return a character vector or a list of character vectors?
Details

Please note that apart from given encoding identifiers and their aliases, some other specifiers will be available in your conversion tasks. This is due to the fact that ICU tries to normalize converter names. E.g. "UTF8" is also valid, see stringi-encoding for more information.

Value

  • If simplify is FALSE (the default), a list of character vectors is returned. Each list element represents a unique character encoding. The name attribute gives the ICU Canonical Name of an encoding family. The elements (character vectors) are its aliases.

    If simplify is TRUE, then the resulting list is coerced to a character vector and sorted, and returned with removed duplicated entries.

See Also

Other encoding_management: stri_enc_get, stri_enc_set; stri_enc_info; stri_enc_mark; stringi-encoding

Aliases
  • stri_enc_list
Documentation reproduced from package stringi, version 1.0-1, License: file LICENSE

Community examples

Looks like there are no examples yet.