Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Please use the menu option to set CCSID and Language options for FastCGI and Apache.

From the 5250 Command line:For Zend Server version 5:

GO ZENDSVR/ZSMENU

For Zend Server version 6 or higher:

...

Zend Server 2020.x. 2021.x and higher

Info
iconfalse

GO ZENDPHP74/ZSMENU

use option "80. Configurations" and then "2. Set Zend Server Language/CCSID environment"

Zend Server 9.1.x, 2018.0.x, 2019.0.x 

Info
iconfalse

GO ZENDPHP7/ZSMENU

use option "80. Configurations" and then "2. Set Zend Server Language/CCSID environment"

Zend Server version 6 - 8.5.x

Info
iconfalse
GO ZENDSVR6/ZSMENU

For versions up to 8.0.2, use option "8. Set Zend Server Language/CCSID environment".

For versions 8.5 and higher, use option "80. Configurations" and then "2. Set Zend Server Language/CCSID environment"

Zend Server version 5:

Info
iconfalse
GO ZENDSVR/ZSMENU


Use option "8. Set Zend Server Language/CCSID environment".


1)  Under the heading "FastCGI Language and CCSID settings", please set the CCSID to 1208.  Leave the Language ID set to 'C'.

2)  Under the heading "Apache web server settings", please set the value for DefaultFsCCSID and CGIJobCCSID to the recommended value for your language (see note below).

3)  Press Enter to update, and then restart Apache for this change to take effect.

Info
iconfalse
titleNote:

...

To determine the default CCSID for your language, you can try this trick.

...

From a 5250 command line:

...

       dspjob

On the "Display Job" display, use option "2. Display job definition attributes".  On the "Display Job Definition Attributes" display, page up a few times until you come to the Language entries:

...

Here is an example of the options that would be set in a typical U.S. installation :running Zend Server 8.5.x

           Set Zend Server Language/CCSID Environment                       
                                                                            
IBM i server CCSID and Language settings                                    
   System CCSID . . . . . .:  65535                                         
   Job CCSID . . . . . . . .  65535                                         
   Language ID . . . . . . :  ENU                                           
                                                                            
                                                                            
                                                                            
FastCGI Language and CCSID settings (/www/zendsvr6/conf/fastcgi.conf)       
   CCSID (ASCII) . . . . . :  1208   Number, 819(Latin), 1208(UTF-8)...     
   Language ID . . , , , , :  C      en_US, de_DE, fr_FR...                 
                                                                            
Link for ASCII CCSID and Language table codes:                              
http://files.zend.com/help/Zend-Server-IBMi/i5_national_language_support.htm
                                                                            
Apache web server settings (/www/zendsvr/conf/http.conf)                    
  CGIJobCCSID . DefaultFsCCSID. . . . . :  37     Number, 37(ENU), 297(FRA), 273(DEU)...  
   CGIJobCCSID . DefaultFsCCSID. . . . . :  37     Number, 37(ENU), 297(FRA), 273(DEU)...
 

Find a CCSID that includes the Euro

IBM has provided some enhanced EBCDIC character sets to include the Euro.  If you need the Euro, please find your EBCDIC CCSID (the one used for DefaultFsCCSID) on this page:

Coded character set identifiers

Find your CCSID on this page and click it.  This should take you to a detail page for your CCSID.  For example, if we click on 37 we get to this page:

CCSID 37

In the notes section, there is this text:

...

So, if we need the Euro, we could set DefaultFsCCSID and CGIJobCCSID to 1140.  Of course, this might also be the current CCSID for our job, as described in the main section above.  In this case, we would look at the page for 1140:

CCSID 1140

And see this note:

Related CCSID without euro is 37

...