Special character problem on Notes application

We use Domino Designer 6.0.2 to develop our Notes application and then deploy the software on Domino Server 6.5.4 on Windows 2003. The application is served as web pages on the internet.

In our application, we provide some forms which contains string fields to accept user input. The data in these forms are gathered together to create some reports to be displayed on the web. We found that if the user input contains special characters such as #, we will have problem producing the reports, problem can be data missing from the reports.

Is it a Lotus application limitation? How can we bypass this problem? Is there any other special characters that will also cause similar problem?

Subject: Special character problem on Notes application

I believe you are creating these reports using Javascript. As # is a special character in HTML, try replacing it with # or try using escape() [JavaScript escape() Method] function of javascript.

HTH

Subject: RE: Special character problem on Notes application

DON’T use escape() – use encodeURI() (for a full URI including the protocol and server) or encodeURIComponent() (for query strings) instead. There are compatibility problems with escape() and unescape() in URIs/URLs. which is why encodeURIComponent() and decodeURIComponent() were added to the language.