title: Writing shrugging ASCII emoji ¯\_(ツ)_/¯ in plain text with java
body: <p>I am developing a java program that writtes output in a text file. When something goes wrong, I must put this ASCII art: </p>
  
  <pre><code>¯\_(ツ)_/¯
  </code></pre>
  
  <p>I did it with this <code>BufferedOutputStream</code>:</p>
  
  <pre><code>errorOutput.writeln("##################################\n"
                      + "#####       Error Output     ######\n"
                      + "#####       ¯\\_(ツ)_/¯       ######\n"
                      + "##################################\n");
  </code></pre>
  
  <p>The problem is that when I see the txt log writted with java I get this:</p>
  
  <pre><code>##################################
  #####       Error Output    ######
  #####       Â¯\_(ãƒ„)_/Â¯       ######
  ##################################
  </code></pre>
  
  <p>How can I write the correct ASCII emoji in Java?</p>