Unicode turns ANSI after FTP transfer

空扰寡人 提交于 2019-12-08 08:59:25

问题


I have a bunch of unicode (UTF-16LE) xml files that I 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.


回答1:


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



来源:https://stackoverflow.com/questions/5483625/unicode-turns-ansi-after-ftp-transfer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!