Вопрос

Does anyone know of a way schedule or automate copying or ftping a UNICODE text file and have it converted to a UTF-8 encoding?

The file I am attempting is C:\Documents and Settings\All Users\Application Data\Microsoft\Windows NT\MSFax\ActivityLog\OutboxLOG.txt. I can re-save it as a UTF-8 in notepad and that allows me to import it into navicat mysql. But, I have to copy it to another directory before it will allow me to import it since MS FAX has it in use.

Это было полезно?

Решение

FTP supports only four transfer types: ASCII, EBCDIC, binary, and "local" (for 9-bit bytes, yes there are systems that have 9-bit bytes). UNICODE and UTF-8 are not supported. You will have to do the conversion yourself.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top