Dynamic text from database and textareas query

I have text being inserted into a textarea component dynamically from a MySQL database. The problem is getting characters like the ampersand (&) to show. Also the carriage returns are being processed twice (or the carriage return and newline characters are both being processed).

Is there any way around these problems?

Cheers,
c

try the textField.condenseWhite=true; property.

Doesn’t do much unfortunately :(.

Surely a fair few people have encountered this problem, it seems to be something that would crop up countless times.

OK have realised the problem is what I stated initially where flash read the “
” as two line breaks. I’m guessing the ampersand problem is due to it being an invalid character in XML …?