-
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
s: question-needs-answerQuestion has yet to be answered.Question has yet to be answered.t: questionFurther information is requestedFurther information is requested
Description
What's your question?
As best I can tell from online documentation, when R is installed via WASM the default locale is a C-type, and it is unclear to me that a user can change this. But render this document and run the code-fields:
---
title: "Test"
format: html
filters:
- webr
---
```{r}
# On my machine, the locale is en_US.UTF-8:
Sys.getlocale("LC_COLLATE")
```
```{webr-r}
# webr-r will also report en_US.UTF-8
Sys.getlocale("LC_COLLATE")
```
```{r}
## in en_US.UTF-8 the following evaluates to TRUE
"a" < "B"
```
```{webr-r}
# but the WASM installation appears to use a C-type locale:
"a" < "B"
```
How can one get webr to report the locale that is actually being used?
The behavior is the same on several browsers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
s: question-needs-answerQuestion has yet to be answered.Question has yet to be answered.t: questionFurther information is requestedFurther information is requested