Skip to content

Commit

Permalink
Fixed encoding issue when writting html file.
Browse files Browse the repository at this point in the history
  • Loading branch information
rasseljandavid committed Jul 7, 2011
1 parent 839a624 commit b354f0b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ function getPDF($orders = null)
}

$invoice .= "</BODY></HTML>";
$invoice = mb_convert_encoding($invoice, 'HTML-ENTITIES', "UTF-8");
// eDebug($invoice);
$org_name = str_ireplace(" ","_",ORGANIZATION_NAME);
if (stristr(PHP_OS, 'Win')) {
Expand Down

0 comments on commit b354f0b

Please sign in to comment.