FTP传输后Unicode转ANSI [英] Unicode turns ANSI after FTP transfer

查看:32
本文介绍了FTP传输后Unicode转ANSI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一堆 unicode (UTF-16LE) xml 文件,我想通过旧的 OLD vb6 ftp 组件传输它们,但是当我通过那里发送它们时,它们在 ftp 服务器端(win2k3 服务器)转向 ANSI.

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

当我尝试使用 windows 终端 ftp 客户端发送它时,无论我使用二进制还是 ascii 传输模式都可以正常工作.该文件保持Unicode.造成这种情况的可能原因是什么?

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?

可能不相关,但我注意到通过旧的电子邮件组件发送文件也会对 unicode 文件执行此操作.

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

推荐答案

这里已经敲定了答案;通过 FTP 将 ANSI 字符串写入 Unicode 文件

这篇关于FTP传输后Unicode转ANSI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆