Skip to content

How to set ECI designator #155

Answered by codemasher
shimbala asked this question in Q&A
Nov 6, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hey, I haven't tested the ECI support yet, but with the current dev-main you can do it like this (here's the list of currently supported ECI charsets):

$qrcode->addEciDesignator(ECICharset::ISO_IEC_8859_2);

You can also add an ECI segment with encoding and data:

$qrcode->addEciSegment(ECICharset::ISO_IEC_8859_2, 'data'); // data will be encoded internally

However, the ECI decoding part is not yet properly implemented in the included QR Code reader, also no guarantee yet that the ECI designator works as intended.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@shimbala
Comment options

@codemasher
Comment options

Answer selected by shimbala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants