title: Javadoc - Values of constant fields not displaying properly
body: <p>I was creating docs for one of my projects and I run into a problem with certain characters not displaying properly in the Constant Field Values section. Those letters are "š,č,ć,ž,đ" in my case.</p>
  
  <p>Here's my simple code sample:</p>
  
  <pre><code> /**
   * _insert MainClass doc ščšđčžćđš_
   * 
   * @author Bob
   */
  public class MainClass {
      private static final String COOL_LETTERS = "č-š-ć-đ-ž";
      private static final String NORMAL_LETTERS = "a-b-c-d-e";
  
      /**
       * _insert main method doc đščđščšč_
       * 
       * @param args Arguments đšpšč
       */
      public static void main(String[] args) {
          System.out.println("Some normal letters: " + NORMAL_LETTERS);
          System.out.println("Some cool letters: " + COOL_LETTERS);
      }
  }
  </code></pre>
  
  <p>After running the javadoc tool, I get the following results: </p>
  
  <p><a href="https://i.stack.imgur.com/zDGua.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zDGua.png" alt="enter image description here"></a></p>
  
  <p>and then on clicking the constant fields</p>
  
  <p><a href="https://i.stack.imgur.com/LUs8m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LUs8m.png" alt="enter image description here"></a></p>
  
  <p>As shown in the first image, special characters in docs for <strong>classes</strong> and <strong>methods</strong> are displayed as they should, but not in <strong>values of string constants</strong>, as shown in second image. They are displayed as <em>/uABCD</em></p>
  
  <ul>
  <li>Project encoding is set to utf8</li>
  <li>I add <em>-encoding "UTF-8" -docencoding "UTF-8" -charset "UTF-8"</em> parameters when creating javadoc</li>
  </ul>
  
  <p>Is there a way to get those characters to display properly?</p>