0 Replies Latest reply on Jul 21, 2008 11:16 AM by Aurelijus Janeliunas

    Requset character encoding problem

    Aurelijus Janeliunas Newbie

      User submit a post HTML form with setted "Windows-1257" encoding. Form action is setted to servlet witch "lives" in JBOSS application server as application part. In this servlet I can't get national symbols when i call getParameter method. Even if i set manual character encoding on getParameter method like:

      String parameter = new String(new String( request.getParameter("param1").getBytes(), "cp1257").getBytes(), 'utf-8') ,

      my parameter was without national symbols.