/[packages]/cauldron/w3m/current/SOURCES/w3m-0.4.1-helpcharset.patch
ViewVC logotype

Contents of /cauldron/w3m/current/SOURCES/w3m-0.4.1-helpcharset.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65217 - (show annotations) (download)
Sun Mar 6 11:34:25 2011 UTC (13 years ago) by saispo
File size: 581 byte(s)
imported package w3m
1 diff -ruN w3m-0.4.1.orig/scripts/w3mhelp.cgi.in w3m-0.4.1/scripts/w3mhelp.cgi.in
2 --- w3m-0.4.1.orig/scripts/w3mhelp.cgi.in 2003-06-12 21:03:09.000000000 +0900
3 +++ w3m-0.4.1/scripts/w3mhelp.cgi.in 2003-06-12 21:25:44.000000000 +0900
4 @@ -51,6 +51,12 @@
5 }
6 }
7
8 +if ($lang eq 'ja') {
9 + $help_charset='EUC-JP';
10 +} else {
11 + $help_charset='UTF-8';
12 +}
13 +
14 %f = %keyfunc;
15 %keyfunc = ();
16 while (($key, $fname) = each %f) {
17 @@ -88,6 +94,7 @@
18
19 <HTML>
20 <HEAD>
21 +<META http-equiv="Content-Type" content="text/html; charset=$help_charset">
22 <TITLE>w3m help page</TITLE>
23 </HEAD>
24 <BODY>

  ViewVC Help
Powered by ViewVC 1.1.30