optimize normalize_itext

http://manage.dimagi.com/default.asp?123086