Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QR bill UTF8 #130

Closed
onebeat opened this issue Jun 3, 2021 · 2 comments
Closed

QR bill UTF8 #130

onebeat opened this issue Jun 3, 2021 · 2 comments
Labels
support Support & help

Comments

@onebeat
Copy link

onebeat commented Jun 3, 2021

Hello, first i will like to thanks for this great script.

We am building app for my client and there is issue with uft8 support, currently regarding extended latin letters .

Can this be solved or we are doing something wrong ?

@sprain sprain added the support Support & help label Jun 4, 2021
@sprain
Copy link
Owner

sprain commented Jun 4, 2021

If you are using HtmlOutput, your main html document might need to contain <meta charset="utf-8"/>.

Otherwise we will need to see some code to be able to help you. Feel free to re-open this issue with more information.

@sprain sprain closed this as completed Jun 4, 2021
@onebeat
Copy link
Author

onebeat commented Jun 7, 2021

Hello, i am using tcpdf as output option. Here is my code

$tcPdf = new TCPDF('P', 'mm', 'A4', true, 'UTF-8');
$tcPdf->setPrintHeader(false);
$tcPdf->setPrintFooter(false);
$tcPdf->AddPage();
$output = new QrBill\PaymentPart\Output\TcPdfOutput\TcPdfOutput($qrBill, 'en', $tcPdf);
$output->setPrintable(false)->getPaymentPart();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Support & help
Projects
None yet
Development

No branches or pull requests

2 participants