Skip to Content
avatar image
Former Member

polish dialectic signs turn into # in Linux System

I have developed JSP Struts Polish Application in UTF-8 encoding.

Application interacts with SAP for polish data .I am able to insert the data into SAP from jsp application running on tomcat.

Application which is working on windows version of polish system (windows XP )is not working on Linux System.

Polish dialectic signs like ą,ć,ś,ó,ź,ł,ę are turn into # symbols.

Any advice to make the application work on both windows and Linux.

Regards,

Raghu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 14, 2008 at 02:20 PM

    Could you please post some code - it´s hard to find the problem without knowing anything about your app

    reagards

    franz

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      There is no major configurations to the code.

      This is working perfectly for JSP application running on Windows System.

      I am able to fill Polich data in JSP page and save to SAP .

      Polish Data is also retrived properly.

      Problem is only when the same application deployed in tomcat server on Linus system.

      JSP

      <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>

      <%

      request.setCharacterEncoding("UTF-8");

      %>

      -


      _Struts Actionform

      public void reset(ActionMapping mapping, HttpServletRequest request) {

      super.reset(mapping, request);

      //To reset all input fields

      try {

      request.setCharacterEncoding("UTF-8");

      }catch (UnsupportedEncodingException ex) {

      }

      }// end of reset()