Numeric encoding tag ver. 1.3

    Custom JSP taglib lets you encode characters using their numeric values (NCR format: &#dddd;). You can use this taglib in your WAP/WML applcations or in order to prevent unintended symbols in non UTF-8 pages for example. How to use it:

<%@ taglib uri="taglib.tld" prefix="enc" %>

  this text will be encoded

Tags are:


Body tag encodes body's characters with numeric values. Parameters are:

1) id Optional parameter. Describes a name for your page scope variable with converted data. Without this parameter tag just prints data.
2) keepAscii Optional parameter. Possible values are true or false. If this value is true than tag does not convert Ascii symbols. Default value is false.

for downloading:

 Library: numenctag.jar     Description: taglib.tld

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Related links: