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

UTF-8 German Umalauts | PHP Version #108

Open
steelcrush opened this issue Feb 8, 2022 · 1 comment
Open

UTF-8 German Umalauts | PHP Version #108

steelcrush opened this issue Feb 8, 2022 · 1 comment

Comments

@steelcrush
Copy link

steelcrush commented Feb 8, 2022

I've noticed with german Umalaut characters are not being correctly encoded in the PHP version.

Examples:

Ä = A
ä = a

is there any way to display them correctly?
Ä = Ä
ä = ä

Best Regards
Simon

@steelcrush
Copy link
Author

I found the solution, you have to decode the data first:

$data = ("ÄÖÜß");
$dataDecode = utf8_decode($data);

$qr->addData($dataDecode);
$qr->make();
$qr->printHTML();

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

No branches or pull requests

1 participant