Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

stri_info

Query Default Settings for stringi


Description

Gives the current default settings used by the ICU library.

Usage

stri_info(short = FALSE)

Arguments

short

logical; whether or not the results should be given in a concise form; defaults to TRUE

Value

If short is TRUE, then a single string providing information on the default character encoding, locale, and Unicode as well as ICU version is returned.

Otherwise, a list with the following components is returned:

  • Unicode.version – version of Unicode supported by the ICU library;

  • ICU.versionICU library version used;

  • Locale – contains information on default locale, as returned by stri_locale_info;

  • Charset.internal – fixed at c('UTF-8', 'UTF-16');

  • Charset.native – information on the default encoding, as returned by stri_enc_info;

  • ICU.system – logical; TRUE indicates that the system ICU libs are used, otherwise ICU was built together with stringi;

  • ICU.UTF8 – logical; TRUE if the internal U_CHARSET_IS_UTF8 flag is defined and set.


stringi

Character String Processing Facilities

v1.6.1
file LICENSE
Authors
Marek Gagolewski [aut, cre, cph] (<https://orcid.org/0000-0003-0637-6028>), Bartek Tartanus [ctb], and others (stringi source code); IBM, Unicode, Inc. and others (ICU4C source code, Unicode Character Database)
Initial release
2021-05-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.