[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6080] branches/1.3
- Subject: SF.net SVN: ledger-smb:[6080] branches/1.3
- From: ..hidden..
- Date: Thu, 26 Sep 2013 02:41:58 +0000
Revision: 6080
http://sourceforge.net/p/ledger-smb/code/6080
Author: einhverfr
Date: 2013-09-26 02:41:58 +0000 (Thu, 26 Sep 2013)
Log Message:
-----------
Merging encoding fix from trunk
Modified Paths:
--------------
branches/1.3/Changelog
branches/1.3/LedgerSMB/Template.pm
Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog 2013-09-26 02:40:08 UTC (rev 6079)
+++ branches/1.3/Changelog 2013-09-26 02:41:58 UTC (rev 6080)
@@ -18,6 +18,7 @@
* Silenced warnings in Num2Text (Chris T)
* Fixed blank weights sometimes making invoices unprintable (Chris T)
* Fixed some bugs with SL2.8 to LedgerSMB upgrades (Chris T)
+* Fixed encoding errors after sending email (Chris T, 884)
Chris T is Chris Travers
Nick P is Nick Prater
Modified: branches/1.3/LedgerSMB/Template.pm
===================================================================
--- branches/1.3/LedgerSMB/Template.pm 2013-09-26 02:40:08 UTC (rev 6079)
+++ branches/1.3/LedgerSMB/Template.pm 2013-09-26 02:41:58 UTC (rev 6080)
@@ -367,6 +367,10 @@
} else {
$self->_http_output_file;
}
+ binmode (STDOUT, ':utf8'); # Reset binmode *after* sending file to
+ # email, printer, or screen. For screen
+ # this should have no effect. For printer
+ # or email, this should fix bug 884. --CT
}
sub _http_output {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits