[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FTPAPI - char set conversions, status report



Sender: Christian <chrisv5@xxxxxx>

Well, after I finally found the V5R4 docs with regard to CCSIDs (which are vastly improved over V5R2), I think I got the knack of it.

I managed to successfully convert a Chinese text file as follows:
GB1235 -> UTF-8 -> EBCDIC -> UCS2 BE. Surprisingly, it still looked the same after I was through.


What puzzles me a bit, though, is the fact that the conversion process fails when using small input/output buffers. I might investigate into that later (even write a Windows program to the same conversions; or maybe find something which will do that), but for now I'll leave it as it is. Will wrap up the copy file tool (still a few functions missing, e.g. setting the file's CCSID, better error reporting) and publish it.

It's roughly written in a way that will enable me to quite easily plug it into FTPAPI (after some required structure changes; after all, read/write is asynchronous), thus I might deliver a working multinational version of FTPAPI soon after I get the "final" V4R5 version from Scott.

Regards,
Christian

Jon Paris wrote:
Sender: "Jon Paris" <Jon.Paris@xxxxxxxxxxxxxx>

Christian,

Have you contacted Bruce Vining of IBM about this?  He's usually very
helpful in getting things like this addressed or (often in my case) pointing
out that my interpretation of the docs was slightly flawed <grin>).

Jon Paris
Partner400

www.Partner400.com


----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubsribe from the list send mail to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr -----------------------------------------------------------------------


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------