How to fix the garbled character in terminal?

My router ip address is 192.168.123.1,i ssh it and ls files in /mnt/sda

ssh root@192.168.123.1
ls /mnt/sda
?? ?? TDDOWNLOAD ThunderDB

The cjk characters can't be shown normally ,how to fix the garbled characters?

Try use a universal Character support such as UTF-8 ? Just a thought.

1 Like

I have try "International characters support"

sed -i -e "/unix charset/s/ISO-8859-1/UTF-8/" /etc/samba/smb.conf.template
service samba restart

It can't work!

What is encoding on /mnt/sda?

How to get the encoding on /mnt/sda?

Connect device to PC, can you see all characters?

Hi, let's assume your terminal can display the characters. When I store files on usb via samba from windows clients, I needed to install this packages to make it work:

kmod-nls-cp1250 - 4.9.82-1

Try this:

opkg update
opkg install kmod-nls-cp1250

Edit: obviously you will have to install module for your locale, windows 1250 is used by windows in here (Czech Republic).