Skip to content

parsefnc with iso-8859-15 seems not to work for pdf417 #308

Description

@fradev1988

Hi,

I'm working on a project where is mandatory to use as encoding iso-8859-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 €

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions