CGI loses percent sign

2360 pts.
Tags:
CGI
RPGLE
Web application development
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • aceofdelts
    Thanks, that helps. Mike L.
    2,360 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: