In article <address@hidden>, Dan Jacobson <address@hidden> writes:
One can "set coding system for the next command" to dired a mounted
CDROM directory in the proper charset (big5 in my case). But the
moment one types g to refresh the dired, the dired is back in the
default charset.
So emacs is very clever in detecting the coding systems of files, but
not very cooperative for directories full of filenames all in a
particular coding system.
Detecting a coding system of filenames in a directory is
difficult to implement, but it won't be that difficult to
respect a coding system explicitly specified by C-x C-m c
for dired. Perhaps, it can be done by locally setting
file-name-coding-system of that buffer and making
dired-revert to pay attention to that value.