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.
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.
ie.
message=Dear Foo,\\n\\nThank you for signing up for Bar.
gives:
Dear Foo,\n\nThank you for signing up for Bar.
I want:
Dear Foo,
Thank you for signing up for Bar.
How can I fix this? Thanks!