html content in iRule

Hi,

I have a requirement wherein I have to show a html page saying that the page has been moved to else where. I have to show this html page for different languages. I can place the contents in html tag in IRule. Can I have foreign characters (text for different languages) inside the html tag of iRule?

It does not seem to accept multibyte characters. But you can b64encode your strings and return decoded strings in response. Something like:

when HTTP_RESPONSE {
   HTTP::respond 200 content [b64decode "JiMxMDg3OyYjMTA4ODsmIzEwODA7JiMxMDc0OyYjMTA3NzsmIzEwOTA7"]
}