开发者

How to use { } Curly braces in java-script function to be generated by RPG-CGI pgm

How to write a RPG-CGI program to generate a HTML page which contains a java-script program having function xxx() { aaaaaaaaaaaa; ssssssssss; }. When written in using Hex code constant it is being changed to some other symbol in the actual html code in the browser.

Does EBCDIC character set contains { , }, [ , ] , ! symbols.开发者_运维百科......if no,then how to use it in AS/400 RPG-CGI program ?


You are most likely running into a codepage conversion issue, which in brief means that the AS/400 does not produce the characters as expected by the recipient. Try to run in code page 819 which is ISO-Latin-1


Another option may be to look into using CGIDEV2 though I would try Thorbjørn's option first.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜