I have a server with a samba share on zfs filesystem. Filenames are in hungarian. When I login with ssh, then the file names are diplayed incorrectly in the terminal:
If I do an auto complete on the filename, then it is clear that the filename itself is good, containing non-ascii characters:
I have already tried to set terminal type string to "putty", change terminal character set to UTF-8 or ISO-8859-2 but none of them helped.
The same problem appears in midnight commander, even the "lines" are incorrect:
It I change the display chars in putty config to ISO8859-2:
Then at least the line chars are correct, but the filenames are still bad:
If I start "mc -ac" then I see dashes instead of lines, but the filenames are still wrong:
So must be a problem with the locale. If I do this:
setenv LANG hu_HU.ISO8859-2
then it is still wrong:
It I set putty config to UTF-8 and LANG to hu_HU.UTF-8 then it SOME characters are good, but not all of them:
I'm lost. I have tried many other combinations, but none of them seems to work correctly. Does anybody know how to setup this, so that filenames and graphical chars are shown correctly in both the shell and mc?
By the way, the correct filename prefix should be: "Díjbekérő"