Forum Discussion
STREAM::expression matches on single char only
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.
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]
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com