l10n_info

0th

Percentile

Localization Information

Report on localization information.

Keywords
utilities
Usage
l10n_info()
Details

Common codepages are 1252 (Western European), 1250 (Central European), 1251 (Cyrillic), 1253 (Greek), 1254 (Turkish), 1255 (Hebrew), 1256 (Arabic), 1257 (Baltic), 1258 (Vietnamese), 874 (Thai), 932 (Japanese), 936 (Simplified Chinese), 949 (Korean) and 950 (Traditional Chinese). R does not allow the C locale, and uses 1252 as the default codepage.

Value

A list with three logical components:

MBCS

If a multi-byte character set in use?

UTF-8

Is this a UTF-8 locale?

Latin-1

Is this a Latin-1 locale?

codepage

integer: the Windows codepage corresponding to the locale R is using (and not necessarily that Windows is using).

See Also

Sys.getlocale, localeconv

Aliases
  • l10n_info
Examples
library(base) # NOT RUN { l10n_info() # }
Documentation reproduced from package base, version 3.5.1, License: Part of R 3.5.1

Community examples

Looks like there are no examples yet.