[user@localhost ~] ssh -x -a [email protected]
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.
locale
or (if not available)set | grep LC_
andset | grep LANG
both from within the router shell and from your workstation.LC_
orLANG
variables on the router either. My workstation locale isen_GB.utf8
. At a guess, there was no "accent handling" at all before, but nowls
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).