× 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.



What is your content-type set to? The HTTP server should automatically translate your data, but only if your content-type is "text" (such as text/html, text/plain, text/xml, etc)

%%MIXED/MIXED%% will work fine for everything except %xx constants. If you have any of those in your data (such as with HTML form data) you should switch to %%EBCDIC/EBCDIC%% or simply EBCDIC.

-SK


On 6/23/2012 6:56 PM, Darryl Freinkel wrote:
I am writing my first CGI program using the basic API's such as

- Getenv

- Qtmhwrstout

- Qtmhrdstin



My basic program "works". I read the login data and parse it out normally.



I then write to the buffer, a basic response using qtmhwrtout.



The browser gets the response, but the data I see in the browser debugger is
garbage. I expect that there may be a translation required, but where?



I have the following in the HTTP configuration. The rest of the
configuration is the usual stuff.

CgiConvMode %%MIXED/MIXED%%



Can anyone guide me on the problem?



TIA

Darryl Freinkel | Assignment 400 Group, Inc.






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.