How to set ECI designator #155
-
Hi, I need to set ECI value to 4. Is there a way to do that? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
codemasher
Nov 6, 2022
Replies: 1 comment 2 replies
-
Hey, I haven't tested the ECI support yet, but with the current $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. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
shimbala
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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):You can also add an ECI segment with encoding and data:
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.