Locales (1)
locale
= specifier of language and optionally the region- e.g.
en
,en_US
,en_UK
,nl_BE
, etc. - wrt strings, it affects changing case and sorting
- e.g.
- base R defaults to your personal system’s locale = different behaviour between machines!
{stringr}
defaults toen
; can take explicit locale = consistent behaviour!- many locales supported:
stringi::stri_locale_list()
- many locales supported: