× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



David,

First, I show the user his available spool files names in a Flex
DataGrid; when the user click on one of them, another DataGrid is
populated with the content of that spool file. I do this by copying the
spool file in a temporary PF, reading this PF and populating an HTML
(XML) structure with the content of each record (which is sent back to
the browser). Here appeared my problem: if the spool file contains
special characters, I get the parser errors. The problem was solved by
using ENCODE() procedure provided in CGIDEV2 (Thanks again, Chuck!)
The next step would be to give the user the possibility to download the
spool file in an e-mail...


Florin Todor



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of David FOXWELL
Sent: Tuesday, September 29, 2009 3:08 AM
To: RPG programming on the IBM i / System i
Subject: RE: Special Characters with CGIDEV2



-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Florin
Todor - YYZ Concord
I am trying to display Spool files in a browser using RPG and
CGIDEV2 functionality;

I'd also like to try that. Are you just copying the spool file to a
physical file and writing out your own HTML, or is there some kind of
CGIDEV2 function that does that?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.