|
@Bradley
First of all, Pat runs on a machine with Italien EBCDIC CCSID so your
sub-procedures
will not work since # in US is x'7B' and in Italian is x'B1' where x'7B' is
£.
In general if you use $, # or @ and any of these characters are moved
elsewhere
in the CCSID you may be in trouble.
here you have an overview of EBCDIC code pages ...
http://www.easymarketplace.de/codepages.php
Secondly your example will probably hang up some clients or throw an HTTP
error back since you don't answer back.
Thirdly the example has another missing bit ...
When you receive data through QtmhRdStin the data you will receive will
either be in EBCDIC or in ASCII/UTF-8 depending on the MIME Content-type
the client choses to use:
If the content-type is text/... Apache automatically converts from
ASCII/UTF-8 to EBCDIC
if any other content-type is received the data passed by qtmhRdStin is in
the original
received CSSID typical either ASCII or UTF-8.
The QtmhWrStout functions the same way with a twist ...
if you write out a content type: text/...; charset=xxxxx no conversion is
done of data by
Apache.
PS.
I have worked with Pat during the weekend to establish a HTTPAPI client and
a
receiving powerEXT program using a combination of both and YAJL.
As an Amazon Associate we earn from qualifying purchases.
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.