CGI loses percent sign
385 pts.
0
Q:
CGI loses percent sign
We have a web app ( a CGI) written in RPGLE and HTML that prompts for several data fields and writes a record to our web iseries.

When the Comments field contains a percent sign ("%"), the data file ends up without that symbol and the next character is gone, too.

Is there a simple way to fix this ?

Example text   ...   "test % sign"  comes in as  "test  ign" - 3 less characters.

 

Mike L.



Software/Hardware used:
AS/400
ASKED: Nov 4 2009  9:38 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
3165 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
A percent sign, along with the plus sign and ampersand, are special characters. You need to send them to your page encoded.

See this thread:

http://archive.midrange.com/web400/200207/msg00106.html
Last Answered: Nov 4 2009  11:05 PM GMT by Teandy   3165 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Aceofdelts   385 pts.  |   Nov 5 2009  3:39PM GMT

Thanks, that helps.

Mike L.

 
0