Forum Discussion
Aaron_6309
Jul 02, 2012Nimbostratus
iRule with special characters
I'm trying to create a redirect rule for the root folder educação after my TLD.
I've tried the following iRules but neither seem to take
elseif { [string tolower [HTTP::uri]] equals "/educa%C3%A7%C3%A3o" } {
HTTP::redirect "http://website"
}
and
elseif { [string tolower [HTTP::uri]] equals "/educação" } {
HTTP::redirect "http://website"
}
Is there any way to get unicode characters to work in an iRule?
Thanks!
- MiLK_MaNNimbostratusIt seems TCL converts "/educação" to "/educação" if used when storing the string in a variable or comparing in an if statement.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects