woo-j / OkapiBarcode

Open-source barcode encoding program written in Java
http://www.okapibarcode.org.uk
Apache License 2.0
318 stars 94 forks source link

Allow user to choose ECI mode directly #100

Closed lt623tl closed 7 months ago

lt623tl commented 1 year ago

when i use Chinese to generate qrcode,always use SJIS charset image and always reset in qrcode image can you support direct to set eciMode

gredler commented 1 year ago

I don't think I fully understand your issue. Can you provide more details? Sample data, observed output, and expected output would be great. Thanks!

lt623tl commented 12 months ago

when i use "中文" in qrcode inputData, eciMode always 20, so inputData always reencode ,i hope direct set eciMode

gredler commented 11 months ago

But the resultant QR Code is encoded correctly, and then decodes correctly to "中文" on a scanner, right? I still don't understand the need to control the ECI directly if the auto-selected ECI results in correct encode / decode.

gredler commented 7 months ago

Closing, feel free to reopen with more information about the expected benefits of being able to manually set the ECI mode, if you still think this is a valuable enhancement.