Skip to content

Commit 82fa217

Browse files
authored
Merge pull request #187 from epics-containers/ggayDiamond-patch-1
Update configuration.md with VSCode locale settings
2 parents 0d487bb + 9860949 commit 82fa217

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

docs/reference/configuration.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,24 @@ For a much richer command line experience, it is recommended to use the zsh shel
5252
"terminal.integrated.defaultProfile.linux": "zsh",
5353
```
5454

55+
### Turn off locale detection
56+
57+
If your host system locale settings differ from the dev container image settings, you may receive locale-related warning messages when using the integrated terminal in a dev container; e.g. during a module build:
58+
```
59+
perl: warning: Setting locale failed.
60+
perl: warning: Please check that your locale settings:
61+
LANGUAGE = (unset),
62+
LC_ALL = (unset),
63+
LC_CTYPE = "C.UTF-8",
64+
LANG = "en_US.UTF-8"
65+
are supported and installed on your system.
66+
perl: warning: Falling back to the standard locale ("C").
67+
```
68+
You can either generate and add the required locale settings to your system (with sudo permissions),
69+
or simply turn off the locale detection in VSCode's settings to avoid having LANG set in the integrated terminal
70+
```
71+
Settings > Remote Dev_Container > Terminal > Integrated:Detect_Locale Off
72+
```
73+
5574
| | |
56-
|---|---|
75+
|---|---|

0 commit comments

Comments
 (0)