JsBarcode icon indicating copy to clipboard operation
JsBarcode copied to clipboard

I meet a problem about code128

Open vanclimber opened this issue 2 years ago • 0 comments

If the text structure is like this:

C(n)A(1)B(n) OR C(n)B(1)A(n)

the encoding will calculate incorrectly.

		<img id="barcode1"/>
		<script>JsBarcode("#barcode1", "12345678"+"\x08" + "s");</script>
image

the barcode cannot be scan correctly.

I think the problem is in auto.js : image

the matched character should not be replaced ,if before it is CODEC。 because you haven't process the condition that set is SET_C , so the CODEA character will be treated as CODEC image

vanclimber avatar Mar 16 '22 11:03 vanclimber