Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


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!



  • 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 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 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.