grapher.cgi and charset
Ingeborg Hellemo <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
grapher.cgi does not spesify any charset. Perl's CGI.pm will then assume
ISO-8859-1 and override settings made in httpd.conf.
If you want something else (i.e. UTF-8) the patch (shown below) is easy, but
should this perhaps be made configurable?
-- grapher.cgi Tue Nov 21 12:42:08 2006
+++ grapher.cgi.org Tue Nov 21 12:43:07 2006
@@ -93,7 +93,6 @@
$gQ = new CGI;
-$gQ->charset('UTF-8');
fixHome($gQ);
initConst();
--Ingeborg
--
Ingeborg Østrem Hellemo -- [email protected] (Univ. of Tromsø, Norway)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV