This question pertains to my Ubuntu 18 system, as follows ...
% uname -a
Linux myhost.name.net 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I don't know how long the following has been going on in the midst of my regular system upgrades, but I have now noticed that all my terminal windows are writing UTF-8
characters. I want all terminal windows to use us.ascii
(or possibly iso-8859-1
). I can't find anywhere where this is set.
Furthermore, all keyboard input seems to be coming in as UTF-8
, and I also want it to be us.ascii
or iso-8859-1
.
By default, the LANG
variable is set to en_US.UTF-8
in all shells that run in my terminal windows, but I am not knowingly setting it that way within any config files.
This occurs under xterm
, rxvt
, and urxvt
, and none of these programs are configured to utilize UTF-8
, that I know of.
I'm running XFCE4
, if that makes any difference. I can't find any settings for this in the XFCE4
settings, either.
Can anyone suggest a way to reset my system so that all terminal windows always display us.ascii
or iso-8859-1
, and all keyboard input is also us.ascii
or iso-8859-1
?
Thank you very much.
UTF-8
characters" – Could you please elaborate on this? Linux systems have been usingUTF-8
by default for about 10–15 years now.us.ascii
is a subset of that, if you only use the very basic English letters and symbols present in the US keyboard thenUTF-8
should be just as good for you. There is no encoding callediso-8859
, there are multiple incompatible ones callediso-8859-1
,iso-8859-2
and so on. Which one would you need, and for what? What is the actual problem you're running into?iso-8859-1
. I will correct above in a moment. The problem is that when I copy text from my terminal and try to paste it elsewhere, special characters such as apostrophe and double quote are showing up as multibyte sequences. I want them to show up as single bytes within the 7-bit ascii range. In other words, I want to force the us.ascii subset of utf-8