NoWhereMan wrote:

> here's a page with a list of all the control chars that should be
> stripped from a legal xml-compliant string (or converted to entities)
> http://www.w3.org/International/questions/qa-controls

correction: seems like this chars CAN'T stay in XML even in form of 
entities. So:

#not tested
regsub -all {[[:cntrl:]]} $my_input_string ""

should do :)

bye 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to