You are not logged in.

#1 2020-08-23 11:38:30

verdict22322
Member
Registered: 2020-08-23
Posts: 12

[SOLVED]UTF_8 locale error when starting up games and stuff

https://i.imgur.com/Vgb5fIy.jpg

this is error comes up in any video game i start, i know i messed up something with locales.

I did in /etc/locale.conf type LANG=en-US.UTF-8 than fixed it to LANG=en_US.UTF-8
i also find out i my /etc/locale.gen had # unchecked for
en_US.UTF-12 UTF-8 
en_US ISO-8859-1
instead it was unchek'd for some spanish, idk why maybe i made a mistake on my part... somehow, although im pretty sure i didnt.
After fixing both of these issues, and restarting my laptop the issue still prevails.


moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by verdict22322 (2021-09-02 17:57:30)

Offline

#2 2020-08-23 11:51:41

E3LDDfrK
Member
Registered: 2019-10-24
Posts: 70

Re: [SOLVED]UTF_8 locale error when starting up games and stuff

Did you try "locale" just to check and "# locale-gen"?

Last edited by E3LDDfrK (2020-08-23 11:52:02)

Offline

#3 2020-08-23 12:56:49

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 189

Re: [SOLVED]UTF_8 locale error when starting up games and stuff

verdict22322 wrote:

i also find out i my /etc/locale/gen had # unchecked for
en_US.UTF-12 UTF-8 
en_US ISO-8859-1

Is en_US.UTF-8 UTF-8 also unchecked?

Offline

#4 2020-08-23 15:08:49

verdict22322
Member
Registered: 2020-08-23
Posts: 12

Re: [SOLVED]UTF_8 locale error when starting up games and stuff

GeorgeJP wrote:
verdict22322 wrote:

i also find out i my /etc/locale.gen had # unchecked for
en_US.UTF-12 UTF-8 
en_US ISO-8859-1

Is en_US.UTF-8 UTF-8 also unchecked?

I dont have UTF-8 specifically, rather as laid out
en_US.UTF-12 UTF-8 
en_US ISO-8859-1

with one space between UTS-12 and UTF-8 as i laid above.
Maybe i should write one down? Is it a bug?

I change from en_US.UTF-12 UTF-8 to en_US.UTF-8 UTF-8 

and than changed locale.conf from 12 to 8 too.

After that i did:

$ unset LANG
$ source /etc/profile.d/locale.sh

still i've got the same error

Offline

#5 2020-08-23 15:41:43

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,100

Re: [SOLVED]UTF_8 locale error when starting up games and stuff

There's nothing such as "UTF-12", there's UTF-8 and UTF-16.

vim accident, I guess.

You need to also generate the locale, https://wiki.archlinux.org/index.php/Locale

Online

#6 2020-08-24 16:36:38

verdict22322
Member
Registered: 2020-08-23
Posts: 12

Re: [SOLVED]UTF_8 locale error when starting up games and stuff

Thank you! It seems i failed to generate the locale when i attempted to change everything to UTF-8 last time, all works fine without an error now.

Last edited by verdict22322 (2020-08-24 16:37:16)

Offline

#7 2020-08-24 16:41:47

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED]UTF_8 locale error when starting up games and stuff

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

Board footer

Powered by FluxBB