Generally speaking, other systems besides IBM i have no concept of CCSIDs. How to recognize the particular character encoding of a given file is logic inside the application itself, rather than an OS setting.
This creates a challenge when it comes to transfering to IBM i. The FTP network protocol is telling it to put data inside of a file, but has no concept of a CCSID, so what should the IBM i mark the file as? what it does is take a default value. This default value is USUALLY based on the ASCII equivalent of your system's CCSID. For CCSID 37 (which is what we use in the USA) the ASCII CCSID that supports all of the same characters is CCSID 819. That's true of many of the western-world CCSIDs, they use 819 as the ASCII equivalent, so 819 becomes the default.
That does NOT mean that FTP interpreted the document and figured it out. Its just using it because its the default.
It also does NOT mean that FTP "translated" anything. It wasn't told what it was, so it had to mark it with SOMETHING, and it took the default.
It is up to you to mark it with the correct CCSID. FTP doesn't know, it lacks human intelligence.
This creates a challenge when it comes to transfering to IBM i. The FTP network protocol is telling it to put data inside of a file, but has no concept of a CCSID, so what should the IBM i mark the file as? what it does is take a default value. This default value is USUALLY based on the ASCII equivalent of your system's CCSID. For CCSID 37 (which is what we use in the USA) the ASCII CCSID that supports all of the same characters is CCSID 819. That's true of many of the western-world CCSIDs, they use 819 as the ASCII equivalent, so 819 becomes the default.
That does NOT mean that FTP interpreted the document and figured it out. Its just using it because its the default.
It also does NOT mean that FTP "translated" anything. It wasn't told what it was, so it had to mark it with SOMETHING, and it took the default.
It is up to you to mark it with the correct CCSID. FTP doesn't know, it lacks human intelligence.
Comment