Skip to content

Commit

Permalink
Use CP1252-alias instead of Windows-1252 for better compatibility wit…
Browse files Browse the repository at this point in the history
…h mbstring-polyfill
  • Loading branch information
kohlerdominik committed Sep 4, 2024
1 parent 65ea1c2 commit 1c3f909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PaymentPart/Output/FpdfOutput/FpdfOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,6 @@ private function SetXY(float $x, float $y): void
private function convertEncoding(string $text): string
{
// FPDF does not support unicode.
return mb_convert_encoding($text, 'Windows-1252', 'UTF-8');
return mb_convert_encoding($text, 'CP1252', 'UTF-8');
}
}

0 comments on commit 1c3f909

Please sign in to comment.