Closed terryburton closed 2 months ago
Some decoders are broken and interpret a Kanji Mode section as indicating Shift-JIS character encoding and not merely data compaction.
For examples and discussion, see https://github.com/metafloor/bwip-js/issues/335
Add a new suppresskanjimode option to prevent use of this mode.
suppresskanjimode
Added in a33f826910be4a201a17ceeff277db4303bae08b
Some decoders are broken and interpret a Kanji Mode section as indicating Shift-JIS character encoding and not merely data compaction.
For examples and discussion, see https://github.com/metafloor/bwip-js/issues/335
Add a new
suppresskanjimode
option to prevent use of this mode.