Question marks instead of national letters in console
Clash Royale CLAN TAG#URR8PPP
I have Netgear Stora MS2000 (which uses a modified version of Red Hat) and have strange font issues while connecting by SSH. Note that this occurs both when connecting by PuTTY from Windows and by performing ssh
from Mac console.
When I use some Polish letter and type ls
it is displayed as two question marks. However, when I try to autocomplete the file name it displays correctly. This is illustrated in the following picture:
Tried to change TERM
and LANG
variables to different values but without any luck.
I also noticed wrong display of mc
, this may (or may not) be related to the same issue:
Any ideas what should I change?
The screens where made from PuTTY but it looks the same from Mac terminal.
EDIT
Answering question from comment, here is output from locale
, alias ls
and echo młodość | od -t x1
:
-bash-3.2$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
-bash-3.2$ alias ls
alias ls='ls --color=tty'
-bash-3.2$ echo młodość | od -t x1
0000000 6d c5 82 6f 64 6f c5 9b c4 87 0a
0000013
-bash-3.2$
ls locale character-encoding mc
add a comment |
I have Netgear Stora MS2000 (which uses a modified version of Red Hat) and have strange font issues while connecting by SSH. Note that this occurs both when connecting by PuTTY from Windows and by performing ssh
from Mac console.
When I use some Polish letter and type ls
it is displayed as two question marks. However, when I try to autocomplete the file name it displays correctly. This is illustrated in the following picture:
Tried to change TERM
and LANG
variables to different values but without any luck.
I also noticed wrong display of mc
, this may (or may not) be related to the same issue:
Any ideas what should I change?
The screens where made from PuTTY but it looks the same from Mac terminal.
EDIT
Answering question from comment, here is output from locale
, alias ls
and echo młodość | od -t x1
:
-bash-3.2$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
-bash-3.2$ alias ls
alias ls='ls --color=tty'
-bash-3.2$ echo młodość | od -t x1
0000000 6d c5 82 6f 64 6f c5 9b c4 87 0a
0000013
-bash-3.2$
ls locale character-encoding mc
1
What is the output oflocale
, ofalias ls
, and ofecho młodość | od -t x1
?
– Gilles
Mar 1 '15 at 1:02
@Gilles: See updated question.
– bpiec
Mar 1 '15 at 12:58
Given the messages fromlocale
, I think the locale definition files for your language are missing. Either you need some command to install them manually (this is the GUI way, I don't know what the command line way is) or the files have been omitted from this stripped-down installation.
– Gilles
Mar 1 '15 at 14:28
add a comment |
I have Netgear Stora MS2000 (which uses a modified version of Red Hat) and have strange font issues while connecting by SSH. Note that this occurs both when connecting by PuTTY from Windows and by performing ssh
from Mac console.
When I use some Polish letter and type ls
it is displayed as two question marks. However, when I try to autocomplete the file name it displays correctly. This is illustrated in the following picture:
Tried to change TERM
and LANG
variables to different values but without any luck.
I also noticed wrong display of mc
, this may (or may not) be related to the same issue:
Any ideas what should I change?
The screens where made from PuTTY but it looks the same from Mac terminal.
EDIT
Answering question from comment, here is output from locale
, alias ls
and echo młodość | od -t x1
:
-bash-3.2$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
-bash-3.2$ alias ls
alias ls='ls --color=tty'
-bash-3.2$ echo młodość | od -t x1
0000000 6d c5 82 6f 64 6f c5 9b c4 87 0a
0000013
-bash-3.2$
ls locale character-encoding mc
I have Netgear Stora MS2000 (which uses a modified version of Red Hat) and have strange font issues while connecting by SSH. Note that this occurs both when connecting by PuTTY from Windows and by performing ssh
from Mac console.
When I use some Polish letter and type ls
it is displayed as two question marks. However, when I try to autocomplete the file name it displays correctly. This is illustrated in the following picture:
Tried to change TERM
and LANG
variables to different values but without any luck.
I also noticed wrong display of mc
, this may (or may not) be related to the same issue:
Any ideas what should I change?
The screens where made from PuTTY but it looks the same from Mac terminal.
EDIT
Answering question from comment, here is output from locale
, alias ls
and echo młodość | od -t x1
:
-bash-3.2$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
-bash-3.2$ alias ls
alias ls='ls --color=tty'
-bash-3.2$ echo młodość | od -t x1
0000000 6d c5 82 6f 64 6f c5 9b c4 87 0a
0000013
-bash-3.2$
ls locale character-encoding mc
ls locale character-encoding mc
edited Feb 22 at 13:30
bpiec
asked Feb 28 '15 at 18:29
bpiecbpiec
1317
1317
1
What is the output oflocale
, ofalias ls
, and ofecho młodość | od -t x1
?
– Gilles
Mar 1 '15 at 1:02
@Gilles: See updated question.
– bpiec
Mar 1 '15 at 12:58
Given the messages fromlocale
, I think the locale definition files for your language are missing. Either you need some command to install them manually (this is the GUI way, I don't know what the command line way is) or the files have been omitted from this stripped-down installation.
– Gilles
Mar 1 '15 at 14:28
add a comment |
1
What is the output oflocale
, ofalias ls
, and ofecho młodość | od -t x1
?
– Gilles
Mar 1 '15 at 1:02
@Gilles: See updated question.
– bpiec
Mar 1 '15 at 12:58
Given the messages fromlocale
, I think the locale definition files for your language are missing. Either you need some command to install them manually (this is the GUI way, I don't know what the command line way is) or the files have been omitted from this stripped-down installation.
– Gilles
Mar 1 '15 at 14:28
1
1
What is the output of
locale
, of alias ls
, and of echo młodość | od -t x1
?– Gilles
Mar 1 '15 at 1:02
What is the output of
locale
, of alias ls
, and of echo młodość | od -t x1
?– Gilles
Mar 1 '15 at 1:02
@Gilles: See updated question.
– bpiec
Mar 1 '15 at 12:58
@Gilles: See updated question.
– bpiec
Mar 1 '15 at 12:58
Given the messages from
locale
, I think the locale definition files for your language are missing. Either you need some command to install them manually (this is the GUI way, I don't know what the command line way is) or the files have been omitted from this stripped-down installation.– Gilles
Mar 1 '15 at 14:28
Given the messages from
locale
, I think the locale definition files for your language are missing. Either you need some command to install them manually (this is the GUI way, I don't know what the command line way is) or the files have been omitted from this stripped-down installation.– Gilles
Mar 1 '15 at 14:28
add a comment |
1 Answer
1
active
oldest
votes
Based on comment from Gilles I managed to fix this issue. The problem was missing pl_PL locale. I found instructions on PC LOAD LETTER blog:
cd ~/sometemp
wget http://sourceforge.net/projects/dsgpl/files/DSM%203.1%20Tool%20Chains/Marvell%2088F628x%20Linux%202.6.32/gcc421_glibc25_88f628x.tgz
tar xvfz gcc421_glibc25_88f628x.tgz
cd arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/bin
cp locale /opt/bin
cp localedef /opt/bin
cp -R arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/share/i18n /usr/share
#-----keep another copy safe in case DSM is reinstalled later
cp -R arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/share/i18n /opt/share
mkdir /usr/lib/locale
And then by typing:
localedef -c -f UTF-8 -i pl_PL pl_PL.utf8
and relogging everything works.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f187426%2fquestion-marks-instead-of-national-letters-in-console%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Based on comment from Gilles I managed to fix this issue. The problem was missing pl_PL locale. I found instructions on PC LOAD LETTER blog:
cd ~/sometemp
wget http://sourceforge.net/projects/dsgpl/files/DSM%203.1%20Tool%20Chains/Marvell%2088F628x%20Linux%202.6.32/gcc421_glibc25_88f628x.tgz
tar xvfz gcc421_glibc25_88f628x.tgz
cd arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/bin
cp locale /opt/bin
cp localedef /opt/bin
cp -R arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/share/i18n /usr/share
#-----keep another copy safe in case DSM is reinstalled later
cp -R arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/share/i18n /opt/share
mkdir /usr/lib/locale
And then by typing:
localedef -c -f UTF-8 -i pl_PL pl_PL.utf8
and relogging everything works.
add a comment |
Based on comment from Gilles I managed to fix this issue. The problem was missing pl_PL locale. I found instructions on PC LOAD LETTER blog:
cd ~/sometemp
wget http://sourceforge.net/projects/dsgpl/files/DSM%203.1%20Tool%20Chains/Marvell%2088F628x%20Linux%202.6.32/gcc421_glibc25_88f628x.tgz
tar xvfz gcc421_glibc25_88f628x.tgz
cd arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/bin
cp locale /opt/bin
cp localedef /opt/bin
cp -R arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/share/i18n /usr/share
#-----keep another copy safe in case DSM is reinstalled later
cp -R arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/share/i18n /opt/share
mkdir /usr/lib/locale
And then by typing:
localedef -c -f UTF-8 -i pl_PL pl_PL.utf8
and relogging everything works.
add a comment |
Based on comment from Gilles I managed to fix this issue. The problem was missing pl_PL locale. I found instructions on PC LOAD LETTER blog:
cd ~/sometemp
wget http://sourceforge.net/projects/dsgpl/files/DSM%203.1%20Tool%20Chains/Marvell%2088F628x%20Linux%202.6.32/gcc421_glibc25_88f628x.tgz
tar xvfz gcc421_glibc25_88f628x.tgz
cd arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/bin
cp locale /opt/bin
cp localedef /opt/bin
cp -R arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/share/i18n /usr/share
#-----keep another copy safe in case DSM is reinstalled later
cp -R arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/share/i18n /opt/share
mkdir /usr/lib/locale
And then by typing:
localedef -c -f UTF-8 -i pl_PL pl_PL.utf8
and relogging everything works.
Based on comment from Gilles I managed to fix this issue. The problem was missing pl_PL locale. I found instructions on PC LOAD LETTER blog:
cd ~/sometemp
wget http://sourceforge.net/projects/dsgpl/files/DSM%203.1%20Tool%20Chains/Marvell%2088F628x%20Linux%202.6.32/gcc421_glibc25_88f628x.tgz
tar xvfz gcc421_glibc25_88f628x.tgz
cd arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/bin
cp locale /opt/bin
cp localedef /opt/bin
cp -R arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/share/i18n /usr/share
#-----keep another copy safe in case DSM is reinstalled later
cp -R arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/usr/share/i18n /opt/share
mkdir /usr/lib/locale
And then by typing:
localedef -c -f UTF-8 -i pl_PL pl_PL.utf8
and relogging everything works.
answered Mar 20 '15 at 16:33
bpiecbpiec
1317
1317
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f187426%2fquestion-marks-instead-of-national-letters-in-console%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What is the output of
locale
, ofalias ls
, and ofecho młodość | od -t x1
?– Gilles
Mar 1 '15 at 1:02
@Gilles: See updated question.
– bpiec
Mar 1 '15 at 12:58
Given the messages from
locale
, I think the locale definition files for your language are missing. Either you need some command to install them manually (this is the GUI way, I don't know what the command line way is) or the files have been omitted from this stripped-down installation.– Gilles
Mar 1 '15 at 14:28