Archived:New line cannot be inserted with '\n' char in Alert using Java ME before S60 3rd Edition FP2 (Known Issue)
A new line cannot be inserted with the '\n' character in Alerts using Java ME in older S60 Editions.
For text strings in Java ME, a new line can be inserted using the line feed character '\n'.
With S60 Editions up till S60 3rd Edition, Feature Pack 1, the new line is, however, not inserted properly.
How to reproduce
This issue can be tested with a MIDlet using the following code:
al = new Alert("Hello World Alert!");
al.setString("New\nline"); // this should print text 'line' to next line
For the affected devices and S60 Editions, the string will be printed as 'New line' on the same line instead of printing the words 'New' and 'line' on separate lines.
This issue has been fixed starting from S60 3rd Edition, Feature Pack 2.