Forum Discussion

gogu_33283's avatar
gogu_33283
Icon for Nimbostratus rankNimbostratus
Jan 12, 2010

cannot 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.
  • 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