R12NDS 0 Posted September 25, 2014 Report Share Posted September 25, 2014 I have just started using this CRM software and despite it being a little tricky, i am getting there. I am just trying to create a template document and when it displays the 'invoice lines' i am getting the following displayed: £1022.50 I have searched the forums and added a few bits of code which was recommended. I shouldn't have to do a download as this was only installed yesterday?!?! Please help if you can. Thanks. Quote Link to post Share on other sites
gbrowne 0 Posted February 9, 2015 Report Share Posted February 9, 2015 Did you ever fix this as I am also getting the same result before the pound sign ?Cheers,GB Quote Link to post Share on other sites
X2Raymond 164 Posted February 9, 2015 Report Share Posted February 9, 2015 I believe I've resolved this issue. After you update to the next release, please let me know if your problem persists. Quote Link to post Share on other sites
gbrowne 0 Posted February 10, 2015 Report Share Posted February 10, 2015 Thanks Raymond, Any idea when the next release is due please ? If it's any help, I noticed that if I force the Character Encoding to Unicode in Firefox it is fine, but when I reload the 'print invoice' report the encoding goes back to 'Western' and the problem returns. Cheers,GB. Quote Link to post Share on other sites
X2Raymond 164 Posted February 10, 2015 Report Share Posted February 10, 2015 The next release should be available in about two weeks, no hard date yet for the next release. The fix is exactly as you mention: I've explicitly set the encoding in the header. If you'd like to patch your instance, you can apply the following diff to protected/modules/quotes/controllers/QuotesController.php public function actionPrint($id) { + header('Content-type: text/html; charset=utf-8'); echo $this->getPrintQuote($id); return; } Raymond Quote Link to post Share on other sites
gbrowne 0 Posted February 11, 2015 Report Share Posted February 11, 2015 Appreciate that. Thanks Raymond.GB. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.