[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5687] trunk



Revision: 5687
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5687&view=rev
Author:   einhverfr
Date:     2013-03-12 13:53:17 +0000 (Tue, 12 Mar 2013)
Log Message:
-----------
Fix for encoding issues following printing spool

Modified Paths:
--------------
    trunk/Changelog
    trunk/bin/bp.pl

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2013-03-12 08:51:28 UTC (rev 5686)
+++ trunk/Changelog	2013-03-12 13:53:17 UTC (rev 5687)
@@ -89,6 +89,7 @@
 * R5680-1, (tentatively) fixes to shipping/invoice onhand numbers (Chris T)
 * Fixed customer search showing sales rather than billing addresses (Chris T)
 * Fixed parts descriptions not showing on inventory actibity report (Chris T)
+* Fixed encoding issues when printing from the queue (Chris T, 3602073)
 
 Changelog for 1.3.30
 * Documented behavior of Outstanding Summary report (Chris T, 3601314)

Modified: trunk/bin/bp.pl
===================================================================
--- trunk/bin/bp.pl	2013-03-12 08:51:28 UTC (rev 5686)
+++ trunk/bin/bp.pl	2013-03-12 13:53:17 UTC (rev 5687)
@@ -258,6 +258,9 @@
                 )
               )
             {
+                my $binmode = ':utf8';
+                binmode STDOUT, $binmode;
+                binmode STDERR, $binmode;
                 print $locale->text('done');
                 $form->redirect( $locale->text('Marked entries printed!') );
             }

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.