开发者

Unicode turns ANSI after FTP transfer

开发者 https://www.devze.com 2023-02-20 13:27 出处:网络
I have a bunch of unicode (UTF-16LE) xml files that I 开发者_Go百科want to transfer via an old OLD vb6 ftp component, but when I send them through there, they turn to ANSI on the ftp server side (win2

I have a bunch of unicode (UTF-16LE) xml files that I 开发者_Go百科want to transfer via an old OLD vb6 ftp component, but when I send them through there, they turn to ANSI on the ftp server side (win2k3 server).

When I attempt to send it using the windows terminal ftp client, it works fine whether I use binary or ascii transfer mode. The file stays unicode. What could be possible causes of this?

Edit: perhaps unrelated, but I notice sending files through an old email component also does this to unicode files.


The answer was finalized here; Writing ANSI string to Unicode file over FTP

0

精彩评论

暂无评论...
验证码 换一张
取 消