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).

Re: RNFR doesn't seem to be Unicode enabled

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

It seems the forum isn't Unicode enabled either :) The text 羽毛 are two Chinese characters.

Re: RNFR doesn't seem to be Unicode enabled

by wodDamir, Wednesday, January 05, 2011, 14:05 (5072 days ago) @ MJLeaver

Hi,

I managed to reproduce this issue. I've already forwarded it to our developers to check out. We'll let you know as soon as we have news on this.

Regards,
Damba

Re: RNFR doesn't seem to be Unicode enabled

by woddrazen, Thursday, January 06, 2011, 00:34 (5071 days ago) @ wodDamir

Hi,


Problem with RNFR and UTF8 should be fixed now.

Can you please request update and try it again?

Let us know how it goes.


Regards,
Drazen

Re: RNFR doesn't seem to be Unicode enabled

by MJLeaver, Thursday, January 06, 2011, 01:04 (5071 days ago) @ woddrazen

Thanks, works now!