From: Mike Jones on

I thought I'd set things (on installation) to use UTF-8, but I've
recently noticed a text editor (mousepad) defaulting to ISO-8859-1 as
"Current Locale". I think that all I probably did was set console
parameters, and X11 is still using the ISO-8859-1 default.

How to I (re)set (X11) things to UTF-8? (Getting a bit "lost in data"
ATM.)

Or, is there a good reason why I should stick to the ISO-8859-x thing?

If so, how would I "upgrade" this to ISO-8859-15 (+console) instead?

Ta.

--
*=( http://www.thedailymash.co.uk/
*=( For all your UK news needs.
From: Martin Schmitz on
Mike Jones wrote:
> How to I (re)set (X11) things to UTF-8? (Getting a bit "lost in data"
> ATM.)

echo "LANG=en_US.UTF-8" >> /etc/profile.d/lang.sh

Martin

From: Mike Jones on
Responding to Martin Schmitz:

> Mike Jones wrote:
>> How to I (re)set (X11) things to UTF-8? (Getting a bit "lost in data"
>> ATM.)
>
> echo "LANG=en_US.UTF-8" >> /etc/profile.d/lang.sh
>
> Martin


From: /etc/profile.d/lang.sh

# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail to
# run properly. In those cases, you can set LANG=C before
# starting them. Still, I'd avoid UTF unless you actually need it.


It seems likely, given this, that ISO-8859-15 might be a better option?

If so, then I'd probably need to change my console LANG to the same.

--
*=( http://www.thedailymash.co.uk/
*=( For all your UK news needs.
From: Martin Schmitz on
Mike Jones wrote:
> # There is also support for UTF-8 locales, but be aware that
> # some programs are not yet able to handle UTF-8 and will fail to
> # run properly. In those cases, you can set LANG=C before
> # starting them. Still, I'd avoid UTF unless you actually need it.

This sounds like being not updated for ages.

> It seems likely, given this, that ISO-8859-15 might be a better
> option?

Definitively not.

Martin

From: Mike Jones on
Responding to Martin Schmitz:

> Mike Jones wrote:
>> # There is also support for UTF-8 locales, but be aware that # some
>> programs are not yet able to handle UTF-8 and will fail to # run
>> properly. In those cases, you can set LANG=C before # starting them.
>> Still, I'd avoid UTF unless you actually need it.
>
> This sounds like being not updated for ages.


Slack 12.2.


>> It seems likely, given this, that ISO-8859-15 might be a better option?
>
> Definitively not.
>


I did try that, but got some ASCI-something instead.

ISO-8895-15 is supposed to be the fuller option to the more restricted
ISO-8859-1, but it looks like I'll be sticking with ISO-8859-1 for now as
the UTF-8 option seems to still be "experimental" and the ISO-8859-15
option is effectively borked. Kinda disappointing really, to be so
restricted. :(

But then again, as mentioned in PV's README, some apps are still not
"UTF-8 ready", including Midnight Commander, which is my primary file
manager. (Yes, there is a patch, but its still in BETA.)

--
*=( http://www.thedailymash.co.uk/
*=( For all your UK news needs.