Skip to Content
Former Member
Sep 21, 2007 at 08:27 AM

Special characters in URL parameters retrieved as question marks



I am posting a simple HTML form to a WebDynpro application, and then I retrieve the 2 parameters with the following code :

IWDWebContextAdapter adapter = WDWebContextAdapter.getWebContextAdapter();
String comment= adapter.getRequestParameter("comment");

Problem : some special characters (those with accents for instance) are retrieved as question marks. Their ascii character is always 65533 (unicode rather?).

I guess this is a problem of charset, but where could I change it ?

Trying to encode afterwards does not change the characters, I always get the question marks. But I may not do it the right way...

Any hint on that ?

Thanks a lot.

Best Regards,