bwipp / postscriptbarcode

Barcode Writer in Pure PostScript
https://bwipp.terryburton.co.uk
MIT License
463 stars 65 forks source link

parsefnc with iso-5589-15 doesn't work #252

Closed fradev1988 closed 1 year ago

fradev1988 commented 1 year ago

Hi,

I'm working on a project where is mandatory to use as encoding iso-5589-15 to generate a pdf417 barcode.

I'm calling the bwipjs.toCanvas with the following options: bcid: 'pdf417', text: myText, scaleX: 3, scaleY: 2, columns: 7, eclevel: 4, parsefnc: true

where "myText" is of this form: "^ECI000017" + valueString.

It seems that all the characters that contain a dieresis like ë are not encoding correcty

as example if I try to convert the following world Schaumbërg the result is Schaumbërg.

Moreover also other special chars like the euro symbol are not correctly rapresented. In this case the euro became €

fradev1988 commented 1 year ago

mybe I'm writing in the wrong place --> i m using bwipjs