I'm trying to add some text to a web app via a java .properties file. I want the text to have an en-dash in it. If I add the character entity, thus:
myProp=Foo – Bar
or
myProp=Foo – Bar
I get the code in my output. If I add the literal character to the properties file (and save as UTF-8):
mProp=Foo – Bar
I get the literal character in the output. How do I add the character entity to the output??