Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Problems with UTF 8 characters


  • Anonymous

    i am using mondrian 3.04 and jpivot 1.8.0. I am experiencing problems with some UTF 8 characters (WIN-1250 čžšćđ …).  The problem i get is the same as the one shown on this .

    I belive that there is some encoding problem. I have read the pentaho forums and found the following topics  and  but nothing helped.

    Furthermore I have tried with this setting:

        <!- this defaults to UTF-8, uncomment this section and change the value for other encodings ->




    But i cant get jpivot to work correctly.  Has anyone expirienced simillar problems? Should i change the encoding of all JSP pages?

    Any input would be greately appreciated!

    Kind regards!

      : http://jpivot.sourceforge.net/images/jpivot-11.png
      : http://forums.pentaho.org/showthread.php?t=59913&highlight=unicode+characters
      : http://forums.pentaho.org/showthread.php?t=27604


  • Anonymous

    Thank you for your answer,

    i had some health that is why i could not answer earlier. We tried what you recommended but without success. Could you please send us the whole source for the class com.tonbeller.wcf.controller.RequestFilter.java with the necessary changes. We tried to make changes in moindrian 3.0.4 which already contains jpivot. The error remains the same as it was.


  • Anonymous


    we have partially solved the problem. First: follow the https://sourceforge.net/projects/jpivot/forums/forum/197390/topic/983788?message=3025484. Second: add this to the same file:

      protected String selectEncoding(ServletRequest request)
          return (this.encoding);

    Encoding should be set in the init method, but it seems that in our example does not get read from web.xml. So in our current solution we have hardcoded the same encoding that is in jsp (please check the jsp for encoding, it may be different?).

      protected String selectEncoding(ServletRequest request)
          return "iso-8859-2";//(this.encoding);

    We are looking into the "reading from web.xml" problem…

  • kingczar

    There is another way to solve this problem, mayby even better.
    You can intoduce a SetCharacterEncodingFilter like here.