title: How do I put a \n into a property file's value?
body: <p>I'm using Java Property files and would like to have a newline character put into a value (used as the contents of a message to the user), so that this output contains a new line.</p>
  
  <p>I tried putting it in as a \\n (as I have to escape the backslash character), but I just end up with a message with \n written in it.</p>
  
  <p>ie.</p>
  
  <pre><code>message=Dear Foo,\\n\\nThank you for signing up for Bar.
  </code></pre>
  
  <p>gives:</p>
  
  <pre><code>Dear Foo,\n\nThank you for signing up for Bar.
  </code></pre>
  
  <p>I want:</p>
  
  <pre><code>Dear Foo,
  
  Thank you for signing up for Bar.
  </code></pre>
  
  <p>How can I fix this? Thanks!</p>