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

Re: Unicode problem



Hello,

> 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?

The XML file that you sent me on March 15th is UTF-16 (not UTF-8!!)

It didn't work with CCSID 1200 specified because it had a byte-order 
mark. I should probably add BOM support to HTTPAPI, since for some odd 
reason the iconv() API doesn't understand BOM's

However, if I let Expat do the character set translation (using 
HTTP_XML_CALC) it worked flawlessly for me.

So I'm a little baffled by your message saying that it's UTF-8.  Anyone 
familiar with Unicode can see at a glance that this isn't UTF-8 -- 
unless the format has been changed since you sent that file?
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------