[Koha-cvs] CVS: koha/acqui.simple addbooks.pl,1.16,1.17

Ambrose Li acli at users.sourceforge.net
Sun Jan 19 07:15:46 CET 2003


Update of /cvsroot/koha/koha/acqui.simple
In directory sc8-pr-cvs1:/tmp/cvs-serv10738/acqui.simple

Modified Files:
	addbooks.pl 
Log Message:
Preliminary fix of the CGI.pm problem of always assuming that everything is
in ISO-8859-1.

A new C4::Charset module (tentative name) has been created to guess the
charset of a piece of HTML markup. The CGI programs will be modified to use
this module as they are encountered during translation.


Index: addbooks.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/addbooks.pl,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** addbooks.pl	12 Dec 2002 16:34:41 -0000	1.16
--- addbooks.pl	19 Jan 2003 06:15:44 -0000	1.17
***************
*** 40,43 ****
--- 40,44 ----
  use C4::Biblio;
  use C4::Output;
+ use C4::Charset;
  use HTML::Template;
  
***************
*** 54,56 ****
  			     debug => 1,
  			     });
! print $query->header(-cookie => $cookie),$template->output;
--- 55,60 ----
  			     debug => 1,
  			     });
! print $query->header(
!     -type => guesstype($template->output),
!     -cookie => $cookie
! ),$template->output;





More information about the Koha-cvs mailing list