User: sits    
  Date: 06/07/16 18:21:36

  Modified:    bin      codestriker.pl.base
               lib/Codestriker/Http Response.pm
  Log:
  The configuration option $use_compression = 1 now works again.  This
  was broken by the new utf8 code.  The binmode of STDOUT is left as
  binary if this configuration option is set.
  
  
  
  Index: codestriker.pl.base
  ===================================================================
  RCS file: /cvsroot/codestriker/codestriker/bin/codestriker.pl.base,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- codestriker.pl.base       22 May 2006 11:39:39 -0000      1.22
  +++ codestriker.pl.base       17 Jul 2006 01:21:35 -0000      1.23
  @@ -80,9 +80,6 @@
       $ENV{'PATH'} = '';
   }
   
  -# Make sure the STDOUT encoding is set to UTF8.
  -binmode STDOUT, ':utf8';
  -
   # Prototypes of subroutines used in this module.
   sub main();
   
  
  
  
  
  
  Index: Response.pm
  ===================================================================
  RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/Http/Response.pm,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- Response.pm       11 Jun 2006 08:29:11 -0000      1.38
  +++ Response.pm       17 Jul 2006 01:21:35 -0000      1.39
  @@ -193,6 +193,9 @@
        select(GZIP);
        $output_compressed = 1;
       } else {
  +        # Make sure the STDOUT encoding is set to UTF8.  Not needed
  +        # when the data is being sent as compressed bytes.
  +     binmode STDOUT, ':utf8';
        if ($cache) {
            print $query->header(-cookie=>$cookie_obj,
                                         -charset=>"UTF-8");
  
  
  


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits

Reply via email to