Renaming a filename with non-ascii characters sometimes fails

Bug report from khorben on 08/09/2007 18:09:31
Renaming files with non-ascii characters is erratic on non-UTF8 filesystems. The filename is apparently not encoded back to the native filesystem encoding.