title: Declare String with Japanese characters in java
body: <p>I want to initialize a String in Java with japanese characters as below.</p>
  
  <pre><code>String str = "最終条件";
  </code></pre>
  
  <p>But when I type in my Eclipse Java editor, it is displayed like this</p>
  
  <pre><code>String str = "|||||||";
  </code></pre>
  
  <p>What should be the reason and how can i solve it?</p>