Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
[user@localhost ~] ssh -x -a root@
BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) built-in shell (ash)
 ATTITUDE ADJUSTMENT (12.09, r36088)
root@ROUTER:~# touch 'árvíztűrő tükörfúrógép'
root@ROUTER:~# ls -la
drwxr-xr-x    1 root     root             0 Aug 31 11:26 .
drwxr-xr-x    1 root     root             0 Jan  1  1970 ..
drwx------    2 root     root             0 Aug 15 16:09 .ssh
-rw-r--r--    1 root     root             0 Aug 31 11:26 ????rv??zt??r?? t??k??rf??r??g??p
root@ROUTER:~# ls -la áárvíztűrő\ tükörfúrógép 
-rw-r--r--    1 root     root             0 Aug 31 11:26 ????rv??zt??r?? t??k??rf??r??g??p
root@ROUTER:~# rm áárvíztűrő\ tükörfúrógép 

Q: Why? The accent handling was ok a few versions before.. What am I doing wrong?

UPDATE: the same problem occurs if I put this in cron.

share|improve this question
Please paste output of locale or (if not available) set | grep LC_ and set | grep LANG both from within the router shell and from your workstation. – peterph Sep 23 '13 at 14:30
Bug reproduced here too. Locale isn't installed by default. There are no LC_ or LANGvariables on the router either. My workstation locale is en_GB.utf8. At a guess, there was no "accent handling" at all before, but now ls has been improved not to dump 8-bit characters to a terminal with unknown locale. Or maybe it's a true regression in the ssh server (dropbear). – sourcejedi Oct 5 '13 at 17:28

Sound like you have a file with another fonts such as:

mohsen@debian:~/test/locale$ touch پخاسثد
mohsen@debian:~/test/locale$ ls

But your terminal configured as can't show your language, check the following variable:

mohsen@debian:~/test/locale$ echo $LANG

You should can support UTF-8.

share|improve this answer

You are using ash, the default busybox shell which does not support unicode fonts. See here for a bug report.

The only workaround will probably be to run another shell, like bash or zsh instead of ash. If those are installed, you can use chsh to change your default shell.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.