Non UTF-8 locale (ISO-8859-1) is not supported - Solved

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Non UTF-8 locale (ISO-8859-1) is not supported - Solved

Postby hviaene » Feb 8th, '26, 12:51

I had a preefectly well running M9 installation, when one of my HD crashed. The one which had the home partition, not the / partition. Luckily I had a recent backup, so I was able to insert a new HD in the system and restore from backup. Apart from the long time to do this operation, all went quite well.
Until now launching sol I get "Non UTF-8 locale (ISO-8859-1) is not supported!"
I have
Code: Select all
$ localectl                           
System Locale: LANG=nl_BE.UTF-8
               LANGUAGE=nl_BE.UTF-8:nl
    VC Keymap: be2-latin1
   X11 Layout: be
    X11 Model: pc105
  X11 Options: compose:rwin

I've run MCC settings and Plasma settings up and down, I must be overlooking something stupid.
Last edited by hviaene on Feb 19th, '26, 19:34, edited 1 time in total.
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby doktor5000 » Feb 8th, '26, 18:13

hviaene wrote:Until now launching sol I get "Non UTF-8 locale (ISO-8859-1) is not supported!"

What is sol ?

Please post the output of
Code: Select all
locale
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18222
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

rd g

Postby hviaene » Feb 9th, '26, 11:37

sol is a card game, in the menus as Aisleriot Solitaire
Code: Select all
$ locale
LANG=nl_BE.UTF-8
LC_CTYPE=en_BE
LC_NUMERIC=en_BE
LC_TIME=en_BE
LC_COLLATE=en_BE
LC_MONETARY=en_BE
LC_MESSAGES=en_BE
LC_PAPER=en_BE
LC_NAME=en_BE
LC_ADDRESS=en_BE
LC_TELEPHONE=en_BE
LC_MEASUREMENT=en_BE
LC_IDENTIFICATION=en_BE
LC_ALL=
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby doktor5000 » Feb 9th, '26, 17:51

Well everything except LANG is configured as a non-UTF-8 variant, this is not how it's supposed to look like. How did you configure that in the first place ?

Apart from that, what is the full output when you run sol in a terminal ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18222
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby hviaene » Feb 9th, '26, 18:05

I got into this situation after a HD crash which had my home partition. I got a new HD and copied the home backup I had. Burt something must have been wrong, because after restoring the backup (using M10-Live) my desktiop was in English i.s.o. Dutch as before the crash. I used MCC and checked the systemsettings from Plasma to get back to Dutch. But apparently that was not good enough.
Code: Select all
$ sol
Non UTF-8 locale (ISO-8859-1) is not supported!
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby doktor5000 » Feb 9th, '26, 21:45

You may want to run localedrake to set your locale. See https://doc.mageia.org/mcc/9/en/content ... ocaledrake

Also systemsettings has several issues if you use it to configure your locale, and you should avoid it IMHO.
See e.g. https://forums.mageia.org/en/viewtopic.php?f=7&t=15437 and also https://forums.mageia.org/en/viewtopic.php?f=7&t=15389

Did you use it to try to change locale settings ? Also do you have ~/.config/plasma-localerc and what does that file contain ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18222
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby hviaene » Feb 10th, '26, 11:09

I did run that from MCC when I switched back to Dutch. Anyway, run it again, logout and in again. Changed nothing.
Contents o the file:
Code: Select all
[Formats]
LANG=nl_BE.UTF-8

[Translations]
LANGUAGE=nl
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby doktor5000 » Feb 10th, '26, 19:28

What does your /etc/locale.conf and your /etc/sysconfig/i18n contain ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18222
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby hviaene » Feb 11th, '26, 17:12

/etc/locale.conf
Code: Select all
COUNTRY=BE
LANG=nl_BE.UTF-8
LANGUAGE=nl_BE.UTF-8:nl


/etc/sysconfig/i18n: there is no such file.
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby doktor5000 » Feb 11th, '26, 20:13

AFAICT you should not end up with your locale settings with that locale.conf. You either have some shell script that is loaded by your desktop environment or Xsession or by the login manager.
Best move away ~/.config/plasma-localerc and ~/.config/plasma-locale-settings.sh if you also have that. Then reboot, and post the output of
Code: Select all
locale


Another option would be to set your system to english but with belgian formats for time, currency and such:

Code: Select all
LANG=en_US.UTF-8
LC_TIME=nl_BE.UTF-8
LC_NUMERIC=nl_BE.UTF-8
LC_MONETARY=nl_BE.UTF-8
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18222
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby hviaene » Feb 12th, '26, 11:19

Removed the files from -config , rebooted and then
Code: Select all
$ locale
LANG=nl_BE
LC_CTYPE=nl_BE
LC_NUMERIC=nl_BE
LC_TIME=nl_BE
LC_COLLATE=nl_BE
LC_MONETARY=nl_BE
LC_MESSAGES=nl_BE
LC_PAPER=nl_BE
LC_NAME=nl_BE
LC_ADDRESS=nl_BE
LC_TELEPHONE=nl_BE
LC_MEASUREMENT=nl_BE
LC_IDENTIFICATION=nl_BE
LC_ALL=

Setting to english is out of the question for my daily activities. I support a number of people which I weened of MSWin. And translating all the time from Dutch to English and vice versa is a PITA.
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby morgano » Feb 12th, '26, 15:29

I dont know much of this, but i would try
§ how does it work in a new user you create
§ can it be mitigated by selecting another localisation (i.e fr) and then nl ? (rattle the cogs...)
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T43, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox
morgano
 
Posts: 1586
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby hviaene » Feb 12th, '26, 16:01

Well, I have another user for which I didn't do much in restoring from backup. When I logout and login as that one and run locale, it has UTF-8 all over the place. and no problems running sol.
Trying to copy it's plasma setting from .config.
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby hviaene » Feb 12th, '26, 16:16

No success.
locale has its first line with UTF-8, but the other lines don't and that doesn't solve the problem.
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby hviaene » Feb 12th, '26, 16:56

Well, wanted to try the trick with language swapping. But in MCC I could only choose between English and Dutch. Installed the locales-fr package, then I could pick French.
Rebooted, but all that was in french was the sddm-login screen, all the rest remains in Dutch.
Went to systemsettiings for Plasma, there similar story: only Dutch and English available. I spent time to look thru available packages, but found none tha could apply.
It cann't be possible that is is so difficult to change languages. Countries like Belguim (mine) and Switzerland and other multi-language countries musy have terrible problems on that field.
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby doktor5000 » Feb 12th, '26, 18:10

hviaene wrote:Well, I have another user for which I didn't do much in restoring from backup. When I logout and login as that one and run locale, it has UTF-8 all over the place. and no problems running sol.

That confirms what I mentioned before, that this is definitely an issue with your user-settings, not the systemwide ones.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18222
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby hviaene » Feb 12th, '26, 18:33

That much I was aware off, but I cann't afford to delete that faulty user and loose all my settings and files of thunderbird and firefox etc....
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby doktor5000 » Feb 12th, '26, 21:24

Nobody said anything about deleting a user.
But you could easily search through the dotfiles for relevant configs or if there's any shell script that is run for that user to also apply that to your regular user.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18222
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby hviaene » Feb 16th, '26, 17:11

I searched (well, dolphin did) thru my whole .config folder for nl_BE, but nothing conclusive came out. There must be something!!!!
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41

Re: Non UTF-8 locale (ISO-8859-1) is not supported

Postby hviaene » Feb 19th, '26, 19:33

Found it: it was the file <myhome>.i18n.
That had the lines LC_whatver set to nl-BE, changed those to nl-BE.UTF.8, rebooted and
Code: Select all
$ locale
LANG=nl_BE.UTF-8
LC_CTYPE=nl_BE.UTF-8
LC_NUMERIC=nl_BE.UTF-8
LC_TIME=nl_BE.UTF-8
LC_COLLATE=nl_BE.UTF-8
LC_MONETARY=nl_BE.UTF-8
LC_MESSAGES=nl_BE.UTF-8
LC_PAPER=nl_BE.UTF-8
LC_NAME=nl_BE.UTF-8
LC_ADDRESS=nl_BE.UTF-8
LC_TELEPHONE=nl_BE.UTF-8
LC_MEASUREMENT=nl_BE.UTF-8
LC_IDENTIFICATION=nl_BE.UTF-8
LC_ALL=

and sol does not complain anymore.
hviaene
 
Posts: 170
Joined: Oct 11th, '13, 10:41


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron