-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sys.setLanguage() needs care in an LC_ALL=C session
git-svn-id: https://svn.r-project.org/R/trunk@87042 00db46b3-68df-0310-9c12-caf00c1e9a41
- Loading branch information
maechler
committed
Aug 23, 2024
1 parent
45fe54f
commit c5fbbe8
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The
en_US.UTF-8
locale is not guaranteed to be available.On GNU/Linux, it depends on the contents of
/etc/locale.gen
. For example, choosing a non-English language in the Debian installer will result inlocale -a
printingC
,POSIX
, and<chosen language-country pair>.UTF-8
; any other locales have to be manually enabled usingdpkg-reconfigure locales
.POSIX only guarantees
"C"
="POSIX"
and""
to read the locate settings from the environment variables.en_US.UTF-8
is always available on OpenBSD, but only because it doesn't look past.UTF-8
at the end.Edit: Oops, wrong place