Page 1 of 1

Web Page - CCSID

Posted: Wed Apr 25, 2018 12:38 am
by Joerg Hamacher
Hi again,

we are developing and working on a german IBMi system.
When developing web pages on my laptop I see numeric values correctly displayed in format 1.234.567,00.
When I compile the web page and test it in different browsers on my laptop the numeric values are always in format 1,234,567.00.
The same happens when I check in the web page and let it run from IBMi web server.

Where can I tell the system to use the german / european format for numeric values?
When using forms everything is ok.

Best regards and many thanks in advance,
Joerg

Re: Web Page - CCSID

Posted: Wed Apr 25, 2018 12:53 am
by atostaine
Have you checked system value QDECFMT? WRKSYSVAL QDECFMT

Is there a setting in Apache for the numeric format?

Re: Web Page - CCSID

Posted: Wed Apr 25, 2018 1:10 am
by Joerg Hamacher
Hi Art,

QDECFMT is set to J which is explained as displaying values like 1.004,00 and 0,40. This seems to be ok.
In httpd.conf of the web server instance (/LANSA_l14pgmlib/webserver/www/conf/httpd.conf) I found these settings for CCSID:

DefaultFsCCSID 00037
DefaultNetCCSID 00819

<Directory /QSYS.LIB/L14COMLIB.LIB>
Order Allow,Deny
Allow From all
CGIConvMode BINARY
DefaultNetCCSID 1208
</Directory>