|
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck
Calabro
Sent: Wednesday, December 09, 2015 10:57 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Dealing with "special" characters when Parsing XML with RPG
On 12/8/2015 6:42 PM, Bradley Stone wrote:
Ah.. I figured it was something like that.
Can you use hex arguments for the from and to?
It does not look like PASE sed supports working with hex representations,
but tr will work with octal representations.
http://www-
01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzahz/rzahzsed.htm?lang=en
http://www-
01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzahz/rzahztr.htm?lang=en
I am having luck using ucs2 data, though. It's not reporting an errorwhen
converting using %char(). But, I don't how know it's going to lookjust
yet. I'll have to check that out before I go a different route.
Maybe it will be as easy as replacing there. (btw, this customer is
currently on
V5R4 until they get some other software working on V7R2... the company
went out of business and didn't leave much for conversions).
But, I wrote my own %scanrpl type function years before IBM had it..
so I can use that. :)
--
--buck
Visit wiki.midrange.com and register for an account. Edit a page that
helps you, and because it's public, you'll help someone else, too!
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.