[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Upgrading to latest release of EXPAT and HTTPAPI
Hi Linda,
As far as I know, the CGIDEV2 stuff and the http_url_post_stmf() stuff
does not need to be changed at all.
With the Expat stuff, you basically have two choices. You can upgrade
your code to use RPG's built-in support for double byte Unicode (UCS2 or
UTF-16) which will simplify your code. Or you can keep the code as-is,
and use the UTF-8 version of Unicode. Or both.
I can't tell you what needs to be changed in your programs, since I
haven't seen your code. All I can say, at a very general level, is that
the strings passed to your callbacks are no longer UTF-8, they're now
UTF-16. So change your procedures to receive UTF-16.
I don't know how to help you. Please tell me how I can assist...
llandreth@xxxxxxxxx wrote:
> I installed the new version of EXPAT and HTTPAPI, but had signature
> problems trying to recompile my programs, so I restored the libraries. I
> understand that the older version of EXPAT is only available for a limited
> time, but I am not sure what I need to do to take the new version for UTF -
> 16. (I assume my programs are coded to UTF-8 since they are example
> programs from the older version of EXPAT.)
>
> Based on this list:
> 4 programs using CGIDEV2 WrtHtmltoStmf to write xml to IFS using
> templates, prototypeb (article 51276).
> 5 programs using the XPATH example of parsing an xml file.
> 6 programs using the FULLELEM example of parsing an xml file.
> 3 programs using http_url_post_stmf to post the xml file from IFS to a url.
>
> Do I remove the iconv() or find a new example program and clone it? Seems
> to only be in the 6 programs parsing with FULLELEM example, not the XPATH
> example. Do I have to modify the 5 XPATH programs? But not the other
> programs, not even a re-compile is necessary for the CGIDEV2 or HTTP,
> correct?
>
> Linda Landreth
> Park University Enterprises, Inc.
> 9757 Metcalf Avenue
> Overland Park, KS 66212
> llandreth@xxxxxxxxx
> (913) 967 - 8321 direct
>
>
> -----------------------------------------------------------------------
> 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
-----------------------------------------------------------------------