From jlaidman@rebel-it.com.au Wed Jun 24 08:21:57 2026 From: jlaidman@rebel-it.com.au To: xymon@xymon.com Subject: [Xymon] html charset setting Date: Tue, 02 Apr 2013 12:33:38 +1100 Message-ID: In-Reply-To: <10931889.TxLRZjk9I8@asy-nb.localdomain> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3889577873538351481==" --===============3889577873538351481== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The content type is not in the HTML header, it's in the HTTP header. To check, try this: telnet localhost 80 HEAD /xymon-cgi/ghostlist.sh HTTP/1.0 You'll see the HTTP headers, including "Content-type: nnn/mmm" Easier if you have curl installed: curl --head http://localhost/xymon-cgi/ghostlist.sh J On 31 March 2013 12:18, Sergey wrote: > Hello. > > I found information about HTMLCONTENTTYPE in xymonserver.cfg, > but I can't see content-type definition in html header: > > > > > > > red : Xymon - Status @ Sun Mar 31 04:58:57 2013 > > What I need to check ? > > -- > Regards, Sergey > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > --===============3889577873538351481==-- From a_s_y@sama.ru Wed Jun 24 08:21:57 2026 From: a_s_y@sama.ru To: xymon@xymon.com Subject: [Xymon] html charset setting Date: Tue, 02 Apr 2013 16:45:32 +0400 Message-ID: <201304021645.32302.a_s_y@sama.ru> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6833299233276093418==" --===============6833299233276093418== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tuesday 02 April 2013, Jeremy Laidman wrote: > The content type is not in the HTML header, it's in the HTTP header. To > check, try this: You right, thanks. > telnet localhost 80 > HEAD /xymon-cgi/ghostlist.sh HTTP/1.0 > It works: HTTP/1.1 200 OK Date: Tue, 02 Apr 2013 12:19:55 GMT Server: Apache/2.2.22 (Unix) mod_perl/2.0.4 Perl/v5.12.5 Connection: close Content-Type: text/html; charset=utf-8 But it not works for users. :-( Firefox 17.0.4 and IE9 are not recognize it. I solved problem partially by adding to headers but I would like to solve the problem globally... -- Regards, Sergey --===============6833299233276093418==-- From a_s_y@sama.ru Wed Jun 24 08:21:58 2026 From: a_s_y@sama.ru To: xymon@xymon.com Subject: [Xymon] html charset setting Date: Thu, 04 Apr 2013 15:21:22 +0400 Message-ID: <201304041521.22856.a_s_y@sama.ru> In-Reply-To: <201304021645.32302.a_s_y@sama.ru> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4835956347102729699==" --===============4835956347102729699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tuesday 02 April 2013, Sergey wrote: > HTTP/1.1 200 OK > Date: Tue, 02 Apr 2013 12:19:55 GMT > Server: Apache/2.2.22 (Unix) mod_perl/2.0.4 Perl/v5.12.5 > Connection: close > Content-Type: text/html; charset=3Dutf-8 >=20 > But it not works for users. :-( Firefox 17.0.4 and IE9 are not > recognize it. Strange but it works for some pages. I do not understand it... > I solved problem partially by adding to headers > > but I would like to solve the problem globally... I seems what it changed all needed headers: perl -p -e 's##\n#;' -i web/*_header And I remove charset from $HTMLCONTENTTYPE. --=20 Regards, Sergey --===============4835956347102729699==--