invalid utf8 filenames mangled

Egmont Koblinger egmont at uhulinux.hu
Tue Jan 2 17:19:15 UTC 2007


Hi,

A quite important note to the maintainers of the UTF-8 patches:

When you use mc with the UTF-8 patches in UTF-8 mode, and copy or move a
file whose name is not valid UTF-8 by pressing F5/F6 on it or selecting it
with Insert and then doing F5/F5 on it, its filename gets mangled, invalid
UTF-8 characters are replaced with literal question marks.

If these files occur somewhere deeper (inside a directory that you asked mc
to copy/move) then the name correctly stays the same.

I guess it's a quite nasty bug and should be addressed...


-- 
Egmont



More information about the mc-devel mailing list