Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Garbage characters on directory and/or file name (3 replies)

$
0
0
On my Seagate Dockstar running on debian ARMel, ls -al returns all Chinese characters of a directory and/or file name as ?????? (see below)
[root@debian:/root 3%] # ls -la /srv/
total 12
drwxr-xr-x  3 root   root    4096 Mar 15 22:34 .
drwxr-xr-x 21 root   root    4096 Feb 16  2015 ..
drwxr-xr-x  2 nobody nogroup 4096 Mar 16 13:05 ????????????
[root@debian:/root 4%] # ls -la /srv/\347\273\247\347\210\266\345\233\236\345\256\266/
total 876960
drwxr-xr-x 2 nobody nogroup      4096 Mar 16 13:05 .
drwxr-xr-x 3 root   root         4096 Mar 15 22:34 ..
-rw-r--r-- 1 nobody nogroup 178467784 Feb 15 19:15 ?????????.mp4
-rw-r--r-- 1 nobody nogroup 180803541 Feb 15 21:18 ?????????.mp4
-rw-r--r-- 1 nobody nogroup 182210980 Mar 15 22:32 ?????????.mp4
-rw-r--r-- 1 nobody nogroup 177843368 Feb 15 22:20 ?????????.mp4
-rw-r--r-- 1 nobody nogroup 178652002 Feb 16 11:56 ?????????.mp4
[root@debian:/root 5%] #
OTOH, this does not happen when I tried the same thing on my OpenSuSE Linux desktop computer (see below). Is there a package I must install to remedy this issue?
[habibie@linux:/mnt/exports/devel/openwrt-git-trunk 276%] ~ ls -la /mnt/
total 12
drwxr-xr-x  3 root   root    4096 Mar 15 22:34 .
drwxr-xr-x 23 root   root    4096 Sep  9  2017 ..
drwxr-xr-x  2 nobody nogroup 4096 Mar 16 13:05 继父回家
[habibie@linux:/mnt/exports/devel/openwrt-git-trunk 277%] ~ ls -la /mnt/继父回家/
total 876960
drwxr-xr-x 2 nobody nogroup      4096 Mar 16 13:05 .
drwxr-xr-x 3 root   root         4096 Mar 15 22:34 ..
-rw-r--r-- 1 nobody nogroup 178467784 Feb 15 19:15 第一集.mp4
-rw-r--r-- 1 nobody nogroup 180803541 Feb 15 21:18 第三集.mp4
-rw-r--r-- 1 nobody nogroup 182210980 Mar 15 22:32 第二集.mp4
-rw-r--r-- 1 nobody nogroup 177843368 Feb 15 22:20 第五集.mp4
-rw-r--r-- 1 nobody nogroup 178652002 Feb 16 11:56 第四集.mp4
[habibie@linux:/mnt/exports/devel/openwrt-git-trunk 278%] ~

Viewing all articles
Browse latest Browse all 3247

Trending Articles