Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: UTF-8 bug in Mantle.jsp

  1. #1

    Default UTF-8 bug in Mantle.jsp

    Please, fix the UTF-8 characters processing in Mantle.jsp (bi-server 3.6 still has this bug). I suggest the following:

    1) Add <%@ page contentType="text/html;charset=utf-8" %>
    2) Correct the two lines as follows:
    <img src="mantle/large-loading.gif" width="32" height="32"/><%= new String(properties.getString("loadingConsole").getBytes("ISO-8859-1"), "UTF-8") %><a href="http://www.pentaho.com"></a><br/>
    <span id="loading-msg"><%= new String(properties.getString("pleaseWait").getBytes("ISO-8859-1"), "UTF-8") %></span>

    Please, note how the string is to be converted to UTF-8 for correct display. This way it works, and without this fix "Pentaho User Console loading... Please, wait..." localized message is shown corrupt.

    I have no idea of more elegant solution -- you may suggest your own
    Last edited by pled76; 04-20-2010 at 07:19 AM.

  2. #2
    Join Date
    Jul 2007
    Posts
    1,013

    Default

    You can create a request for in in JIRA: http://jira.pentaho.com/browse/BISERVER. You have more chances of it getting noticed there than here.

    Cheers!
    (en) Path to Pentaho knowledge: (1:Search the Wiki > 2:Search the Forums > 3:Ask) or (1:Get a Subscription)
    (es) El camino al conocimiento en Pentaho: (1:Buscar en la Wiki > 2:Buscar en los Foros > 3:Preguntar) o (1:Comprar una Subscripción)

  3. #3

    Default

    Thanks for the advice.

    JIRA item created: http://jira.pentaho.com/browse/BISERVER-4188

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.