Commit 62de0d27 authored by jcnventura's avatar jcnventura

Fix #517828: replace the euro sign with an HTML entity

parent b804fc99
......@@ -141,6 +141,9 @@ function _print_pdf_dompdf($print, $html, $filename) {
// dompdf can't handle footers cleanly, so disable the following
// $html = theme('print_pdf_dompdf_footer', $html);
// Convert the euro sign to an HTML entity
$html = str_replace('€', '€', $html);
// Convert from UTF-8 to ISO 8859-1 and then to HTML entities
if (function_exists('utf8_decode')) {
$html = utf8_decode($html);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment