International characters not shown correctly in the Show saved filter portlet

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • None
    • Affects Version/s: 3.0.3
    • Component/s: Dashboard & Gadgets
    • None
    • 3

      All of the JIRA shows national (Slovenian) characters (čšž) correctly, except for the "Show saved filter" portlet - screenshot follows.

      The encoding is set to UTF-8.

      The following conversion happens:
      č -> ᅣヘ
      š -> ᅤᄀ
      ž -> ᅤᄒ

      Looks like something like this happens:

      String s = the_corrrect_string_in;
      byte b[] = s.getBytes("UTF-8"); // so far so good

      // this uses the platform default encoding, which is not
      // UTF-8, but rather something like ISO-8859-2
      String t = new String(b); // now, t is wrong

              Assignee:
              Unassigned
              Reporter:
              Bojan
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: