Hi, I can't get newline characters to be interpreted when the format string for Lang.format is stored in an app property
If I put the format string directly in the Lang.Format function like such, it works:
_message = Lang.format("$1$\n\nTemp : $2$ C\nVit vent : $3$ KMH\nDir vent : $4$\nRafale : $5$ KMH", [title, field1, field2, field3, field4]);
When it's printed on the screen with dc.drawText, the line is broken in multiple lines according to the '\n' characters as such
Maison
Temp : -3 C
Vit vent : 17 KMH
Dir vent : N
Rafale : 22 KMH
But when the same line is stored in an app property and read like this:
_message = Lang.format(Application.getApp().getProperty("display"), [title, field1, field2, field3, field4]);
I get
Maison\n\nTemp : -3 C\nVit vent : 17 KMH\nDir vent : N\nRafale : 22 KMH
on screen instead as seen below

Printing this line with System.println does output it correctly (like the first one above).
'display' is defined like this the the properties.xml
<property id="display" type="string"></property>
And its value is "$1$\n\nTemp : $2$ C\nVit vent : $3$ KMH\nDir vent : $4$\nRafale : $5$ KMH"
I tried replacing \n with \r, same result except its \r that is written instead of \n
Not sure what I'm doing wrong here :-(
Thanks