0 Replies Latest reply on Dec 2, 2013 2:07 AM by bet.sandy

    Changing Encoding Type from "UTF-8" to "Windows-1252" Not working

    bet.sandy

      I am using JBoss AS 7.1.1.Final "Brontes" on Unix , I am trying to force change the Encoding type from "UTF-8" (by default mentioned) to ANSI(Windows-1525) by adding the below lines to my standalone.xml . But the changes are not reflecting.

       

      <system-properties>

           <property name="org.apache.catalina.connector.URI_ENCODING" value="Windows-1525"/>

           <property name="org.apache.catalina.connector.USE_BODY_ENCODING_FOR_QUERY_STRING" value="true"/>

      </system-properties>

       

      My requirement is that I have a UI page in smartGWT where there is a button which will export the page to ".csv" . everything is working except that the encoding should be set to "ANSI" rather than "UTF-8".

      i even tried with <property name="org.apache.catalina.connector.URI_ENCODING" value="ISO-8859-1"/> but of no use.

       

      Am i doing some thing wrong here? Any help would be of Highly Appreciated.

       

      Thanks

      Sandy