FG

changing the current set locale on a Linux(Ubuntu)

Fresh3 days ago
Mar 15, 202630134 views
Confidence Score0%
0%

Problem

I have a Ubuntu system on which current locale is(output of locale command): I want to change it to en_GB, because some characters are not handled properly on the terminal display. What is the command to change the locale? What is the command to see what different locales are available on current s…

Error Output

LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: changing the current set locale on a Linux(Ubuntu)

Low Risk

The used locale is set via environment variables for the process (like the shell running in your terminal). Most of the time it is sufficient to just change , assuming you use Put this into your file to make it work for all (even non-terminal) proce…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment