do I really need to resort ot raw unicode char escapes to embed newlines into my .properties file?
This lengthy discussion in documentation is cool but I somehow miss this point. Now trying to scan this bulk once again, but maybe someone knows?
Thanks,
Anton
update
certain special characters, can be represented in keys
and elements using escape sequences similar to those used
for character and string literals
I was not that sure what those ‘certain special characters’ might be. The direct link from 1.4 javadocs did not lead to the proper section of the spec. But after looking up the proper paragraph this got quite clear for me.
Nope. I’d expect
\ror\nor\r\nto work just fine. You claim that the linked documentation misses the point, but it seems pretty relevant to me:Section 3.10.6 is what you want, right?