The textarea should be generated with by encoding the contents with < and < and > to > the values passed when the form is submitted is their literal value not the encoded one, so it's perfectly fine to encode them in the textarea. I don't get your point about "the system" generating textareas they should be outside user input and should not be encoded each time.
------------------------------------------------------------------------------------------------------------
"People who say it cannot be done should not interrupt those who are doing it.";
labs : [
www.businessinfo.co.uk]
blog : [
www.thespanner.co.uk]
Hackvertor : [
hackvertor.co.uk]