Menu

Problem with national characters

Help
Wojtek
2016-05-16
2016-05-16
  • Wojtek

    Wojtek - 2016-05-16

    Hello.
    I've set up Nagiosgraph and it's fine with the exception that when I use national characters in names of hosts/services, they are converted to single-byte HTML equivalents. So Pamięć becomes Pami%C4%99%C4%87.
    Then on the dropdown in Nagiosgraph it becomes an even bigger mess: PamiÄ™Ć.
    When I use original characters in URL, it shows graphs fine, but again all instances of service name are garbled : ../cgi-bin/show.cgi?host=HOST&service=Pamięć
    I have debian 8.4 and Icinga. Env variables for
    LANG=en_US.UTF-8
    LANGUAGE=en_US:en

     
  • Wojtek

    Wojtek - 2016-05-16

    Sorry I submitted too fast :)
    So, if there is no clear solution, I'm willing to write some PERL code to translate just the names on the fly. It'll be great if someone could tell me what to change, or at least where to put the conversion in the code.

     

Log in to post a comment.