Microsoft/vscode

Sets LANG environment variable to wrong value

Open

#173,749 opened on Feb 8, 2023

View on GitHub
 (10 comments) (0 reactions) (1 assignee)TypeScript (74,848 stars) (10,221 forks)batch import
bughelp wantedl10n-platformmacosmitigated

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.75.0
  • OS Version: macOS 13.1

Steps to Reproduce:

  1. Launch VS Code.
  2. Open a new integrated terminal.
  3. Enter the command echo $LANG
  4. Observe that the value of the LANG environment variable is wrong; in my case, en_US.UTF-8 even though it is correctly en_GB.UTF-8 elsewhere on my system (for example in the Terminal app).

Note, the same or a very similar issue was reported back in October 2016.

Contributor guide

Sets LANG environment variable to wrong value · Microsoft/vscode#173749 | Good First Issue