pass-js icon indicating copy to clipboard operation
pass-js copied to clipboard

Message encoding when creating the Barcode does not work as expected

Open xavism opened this issue 4 years ago • 3 comments

I would like to be able to add contacts with Latin characters like á. é, à, ... I have already added the message encoding to the barcode of a template like this:

Screenshot 2020-07-21 at 13 01 34

and the Barcode standard is created correctly:

[ { message:
     'BEGIN:VCARD\nVERSION:4.0\nN:Sén;Álex\nEND:VCARD',
    format: 'PKBarcodeFormatQR',
    messageEncoding: 'iso-8859-1' } ]

However, when reading the QR to add the contact, the encoding doesn't work as expected:

Screenshot

xavism avatar Jul 21 '20 11:07 xavism

ideas? :'(

xavism avatar Oct 06 '20 15:10 xavism

I'm still not able to solve it

xavism avatar Dec 26 '20 09:12 xavism

Did you try to use Windows-1252 encoding?

mrBungalow avatar Jan 29 '21 17:01 mrBungalow