问题描述
我有一串unicode(UTF-16LE)xml文件,我想通过旧的老式vb6 ftp组件传输,但是当我通过它们发送它们时,它们转向ANSI服务器端(win2k3服务器) 。
当我尝试使用Windows终端ftp客户端发送它时,无论使用二进制还是ASCII传输模式,它都能正常工作。该文件保持unicode。可能的原因是什么?
编辑:也许不相关,但我注意到通过旧电子邮件组件发送文件也是这样做的unicode文件。 b $ b
答案在此完成;
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.
The answer was finalized here; Writing ANSI string to Unicode file over FTP
这篇关于FTP传输后,Unicode变成ANSI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!