Regional characters and terminal
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Regional characters and terminal
I installed Maya last fall with Icelandic as my install language and it worked fine up until last week when Terminal stopped recognizing the Icelandic special characters such as þ æ ð and the accents ' and " and since a lot of directories have those characters in them I can't really navigate with terminal and certain programs don't open files in those directories since they don't recognize it's existance does anyone know how to get these characters back into terminal
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Regional characters and terminal
I just installed Nadia and I'm having the same issues (the only difference being that the language is Brazilian Portuguese).
In this thread, somebody complains of the same problem. Then one user said:
Which means it should be showing special characters, but it isn't. Any ideas?
In this thread, somebody complains of the same problem. Then one user said:
When I use that command, I get:xenopeek wrote:This will happen if your LANG environment variable isn't set. You can check with:It should say something similar to:Code: Select all
env | grep ^LANG=
Code: Select all
LANG=en_US.UTF-8
Code: Select all
LANG=pt_BR.UTF-8
Re: Regional characters and terminal
I went into Language Support, changed it to English, applied it system-wide, and rebooted. Stuff is still in Portugues and I still get
Code: Select all
LANG=pt_BR.UTF-8
Re: Regional characters and terminal
Are those þ and ð in file names UTF-8 or 8-bit ISO-8859-1? In any case, if you need to enter those names in the terminal, replace the special character with ? and it should work, even as arguments to programs. Or use TAB for file name completion, that ought to work too.
FWIW, I had trouble with printing text in ISO-8859-1 and solved that my installing "good old" xterm and using that instead of the more modern terminal.
FWIW, I had trouble with printing text in ISO-8859-1 and solved that my installing "good old" xterm and using that instead of the more modern terminal.
Re: Regional characters and terminal
Replacing a special character with ? works (though just typing the correct character works too, even if it shows as ?).
But xterm and uxterm did no good. I think "the hole is further down"...
But xterm and uxterm did no good. I think "the hole is further down"...
Re: Regional characters and terminal
When using a variety of commands, I get
I think it has to do with the problem.
Code: Select all
Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
SOLVED
Found a solution here.
I opened /etc/default, opened the terminal in that folder and typed to edit "locale".
Then I erased everything in there and replaced it with and rebooted. That did the trick.
I believe that the code for Icelandic would be "is_IS.UTF-8". Did that solve your problem, Benzi Junior?
I opened /etc/default, opened the terminal in that folder and typed
Code: Select all
sudo gedit locale
Then I erased everything in there and replaced it with
Code: Select all
LC_ALL="en_US.UTF-8"
I believe that the code for Icelandic would be "is_IS.UTF-8". Did that solve your problem, Benzi Junior?