Corrected ESAPI encoding.