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

Re: Unicode problem



I just found out that the file is UTF-8.  If this is the case, what do I 
need to change so we can process this file?


----- Original Message ----- 
From: "Scott Klement" <sk@xxxxxxxxxxxxxxxx>
To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, March 15, 2010 3:21 PM
Subject: Re: Unicode problem


> Hi John,
>
>> I used WRKLNK to view the attributes of the file and it was listed as
>> CCSID-1252.
>
>
> The data in the file doesn't appear to be CCSID 1252.  Perhaps you are
> marking the file with the wrong CCSID (or keeping the default) when you
> download it?  (but... read on...)
>
> The CCSID marking on the outside of the file doesn't matter to HTTPAPI's
> XML parser, however, unless you specify HTTP_STMF_CALC -- which I
> wouldn't recommend.
>
> So I think you're following a red herring by looking at the CCSID with
> WRKLNK.
>
>
>> I plugged this into the 2nd parm of the http_parse_xml_stmf
>> procedure, but I got the same result(rc = -1). I also tried using
>> 1200, but the results were identical.
>
> Hmmm...  thanks for the XML file.  I'll give it a try and see what I can
> find.
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
> 

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------