Skip to content

Commit

Permalink
Fix nl_BE
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthegeek authored Feb 16, 2024
1 parent a021524 commit b002459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 14-strings.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ read_csv(charToRaw(x), locale = locale(encoding = "Latin1"))$text
## Locales (1) {-}

- `locale` = specifier of language and optionally the region
- e.g. `en`, `en_US`, `en_UK`, `be_NL`, etc.
- e.g. `en`, `en_US`, `en_UK`, `nl_BE`, etc.
- wrt strings, it affects **changing case** and **sorting**
- base R defaults to your personal system's locale = different behaviour between machines!
- `{stringr}` defaults to `en`; can take explicit locale = consistent behaviour!
Expand Down

0 comments on commit b002459

Please sign in to comment.