RNFR doesn't seem to be Unicode enabled - WeOnlyDo Discussion board

RNFR doesn't seem to be Unicode enabled (General questions)

by MJLeaver, Wednesday, January 05, 2011, 12:35 (5072 days ago)

Hi,

I've got UTF8Encoding set to TRUE and everything seems to work fine with Unicode filenames except the Rename command. I can see from the output that for some reason the RNFR is losing the encoding. For example:

MKD /tmp/羽毛
257 /tmp/羽毛 : The directory was successfully created
RNFR /tmp/??
550 Sorry, but that file doesn't exist

So I can create, delete, list, and go to a directory called 羽毛, but if I try and rename it it fails. The reason appears to be that the RNFR command is garbling the contents of RemotePath (you can see from above that it's sending the wrong string).


Complete thread: