Read the JavaDoc for java.util.Properties:

  | Then every entry in this Properties table is written out, one per line. For 
each entry the key string is written, then an ASCII =, then the associated 
element string. Each character of the key and element strings is examined to 
see whether it should be rendered as an escape sequence. The ASCII characters 
\, tab, form feed, newline, and carriage return are written as \\, \t, \f \n, 
and \r, respectively. Characters less than \u0020 and characters greater than 
\u007E are written as \uxxxx for the appropriate hexadecimal value xxxx. For 
the key, all space characters are written with a preceding \ character. For the 
element, leading space characters, but not embedded or trailing space 
characters, are written with a preceding \  character. The key and element 
characters #, !, =, and : are written with a preceding backslash to ensure that 
they are properly loaded.
  | 

So use \r\n

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098587#4098587

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098587
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to