From: Josselin Date: 2007-06-02T02:35:15+09:00 Subject: generating CReturn in xml file I am generating an xml output file from my rails app to be read in Flash.. working fine as long as I don't have to insert a CR in a string to be understood by Flash Flash can understand the CR if the character is embedded (ASCII code for CR) so if I have a string like "Announce 14 at 04/04/2007", it will display correctly into my Flash object as Announce 13 at 04/04/2007 my problem is how to generate the string, I tried : name_label = "Announce " + proposition.id.to_s + "\nat " + post.created_at.utc.strftime("%d/%b/%Y") but it's not working I also tried .... name_label = "Announce " + proposition.id.to_s + " at " + post.created_at.utc.strftime("%d/%b/%Y") not working ... how can I put this character sequence as it ? thanks for your help joss