Forum Discussion
gogu_33283
Nimbostratus
Jan 12, 2010cannot display french characters
Hi,
we created an iRule: a webpage with a message, when server is unavailable, we needed in english and french, problem is that I cannot have french characters on message, like e with an accent on it, I can put only regular e.
Thanks for help.
1 Reply
- The_Bhattman
Nimbostratus
Hi Gogu,
iRule parser doesn't recognize accents. So when you attempt to save an iRule all your accents are replaced with something in the ASCII table. You need to also provide the encoding so that the accents show up. If you are using an iRule editor it will more then likely display some kind of error.
I have attached a piece of code that displays French accent. I couldn't paste the code, because it would correctly display the accent and remove the entity code that you needed to view.
However, in the sample it should output to
Ce message est en français
From the iRule perspective you are within the ASCII encoding, but when you see the output display the correct accent with of course the correct encoding set. Here is a something I found on Google that shows you the Accent entity codes (http://tlt.its.psu.edu/suggestions/international/web/codehtml.html)
I hope this helps
Bhattman
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