Forum Discussion
Peter_74
Nimbostratus
Oct 23, 2015Serving UTF-8 content from iRule?
Do iFiles or iRules have any known issues with UTF-8 content? I can't find mention either way in the documentation or online.
I am trying to set up an iRule to serve a maintenance page that contai...
Oct 23, 2015
Hi
I tried this rule on 11.5.3 and it worked:
when HTTP_REQUEST {
HTTP::respond 200 content {
UTF-8 iRule Test
Should look like this: "&9731" (HTML encoded using numeric character reference)
&29694;&22312;&12513;&12531;&12486;&12490;&12531;&12473;&20013;&12398;&28858;
} Content-Type "text/html; charset=utf-8"
}
Hope that helps! 🙂
/Patrik
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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