Unicode turns ANSI after FTP transfer
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
精彩评论