There are several things you can check in your httpd.conf file:

The TypesConfig directive and DefaultType:

        TypesConfig conf/mime.types
        DefaultType text/plain

This tells Apache to convert from IBM-1047 to ISO8859-1:

# mod_charset_lite is used to translate request and response         
# data from one character set to another (e.g., from EBCDIC          
# to ASCII or vice versa).                                           
LoadModule charset_lite_module modules/mod_charset_lite.so           
<Location />                                                         
CharsetSourceEnc IBM-1047                                            
CharsetDefault   ISO8859-1                                           
</Location>  

Hope that's helpful.                                                        

--
 
Donald Grinsell, Systems Programmer
Enterprise Technology Services Bureau
SITSD/Montana Department of Administration
406.444.2983 (D)

"Twenty years from now you will be more disappointed by the things you didn't 
do than by the ones you did do. So throw off the bowlines. Sail away from the 
safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover."
~ attributed to Mark Twain 

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]]
> On Behalf Of Lindy Mayfield
> Sent: Monday, January 30, 2017 12:41 PM
> To: [email protected]
> Subject: Domino vs. Apache Web Server and Encoding Issue from CGI
> Program
> 
> Hi group,
> 
> Did something change from z/OS 2.1 to 2.2 specifically that would mean that
> the Domino web server changed to the Apache web server?  Has anyone
> experienced this with their upgrade?
> 
> More specifically to my problem,  has anyone experience with going from
> Domino to Apache, and encountered issues with the encoding used by cgi
> applications and had to fix them?  I don’t mean something like 1143 vs. 1047
> encoding, but ebcdic vs. asciii.  What once returned from a call, for example,
> “Hello world”, now looks something like “çè(<žŽ çá àžŽ”. ☺
> 
> I’ve no idea which end to look at first on this, at the app or at the server
> configuration, which is why I ask.  Also, I don’t know how big a change
> Domino is to Apache is, if it was meant to be a plug-and-play replacement or
> not.
> 
> Many thanks for any help or advice.
> 
> Kind regards,
> Lindy Mayfield
> 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send email to
> [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to