Forum Discussion
crodriguez
Ret. Employee
The encoding on the HTML data a would appear to be UTF-8, as specified in the first META tag that appears in the HTML stream.
<Meta HTTP-Equiv="Content-Type" Content="text/html; charset=UTF-8">
The default translation mode on a STREAM expression is ascii (which means ISO-8859-1, including ascii). Try adding a STREAM::encoding utf-8 command to the iRule (before the STREAM::enable) to see if that makes a difference.
EB-Peter
Apr 21, 2021Nimbostratus
Where would you suggest I add that line? If I place it under 'HTTP_RESPONSE', i get the error:
error: [command is not valid in current event context (HTTP_RESPONSE)][STREAM::encoding utf-8]