ID EN
Miscellaneous

l10n_info

R Base 3.6.2

Report on localization information.

Syntax

R
l10n_info()

Return Value

A list with three logical components: MBCSIf a multi-byte character set in use? UTF-8Is this a UTF-8 locale? Latin-1Is this a Latin-1 locale? codepageinteger: the Windows codepage corresponding to the locale R is using (and not necessarily that Windows is using).

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.

Examples

Example
R
# NOT RUN {
l10n_info()
# }

See Also

Sys.getlocale localeconv