Hello,lists, >From the Mason book I'm reading:
If $foo_data contains the string </textarea>, your HTML will be broken. Guard against this possibility by escaping the output: <textarea name="foo"><% $foo_data | h %></textarea> However, the current implementation of HTML escaping in Mason comes with one giant caveat. Mason uses HTML::Entities internally but does not provide a way to tell HTML::Entities not to escape certain characters. By default, HTML::Entities assumes that you are using the ISO-8859-1 character set and escapes characters accordingly. If you are generating text for another character set, such as Big5, this will simply not work. As of this very moment, Mason does not provide a workaround for this problem, but it will in a near-future release and perhaps already has by the time you are reading this. Has the multi-characters problem for HTML escaping been resolved now?:-) ________________________________________________________________________ Check out AOL.com today. Breaking news, video search, pictures, email and IM. All on demand. Always Free. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users