Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding problem in address field #717

Open
ana-oleski opened this issue Mar 20, 2023 · 2 comments
Open

Encoding problem in address field #717

ana-oleski opened this issue Mar 20, 2023 · 2 comments
Labels
bug Something isn't working no-stale

Comments

@ana-oleski
Copy link

Describe the bug
Encoding problem in address field

To Reproduce
create a VCard with german Umlaute in name and address

public vCard: VCard = { name: { firstNames: 'John', lastNames: 'Dürrer' } ,
address: [
{
street: 'Königstraße',
locality: 'Lüneburg',
postalCode: '11111',
},
]};

<button
id="downloadButtonNormal"
[vcdDownloadVCard]="vCard"
[encoding]="vCardEncoding.utf8"
>
Download VCard!

Generated vcf file contains:

BEGIN:VCARD
VERSION:4.0
FN;CHARSET=utf-8:John Dürrer
N;CHARSET=utf-8:Dürrer;John;;;
ADR:;;Königstraße;Lüneburg;;11111;

...

which is shown in Outook as

Königstraße

11111 Lüneburg

The name is shown correctly

Expected behavior
address field should have encoding prefix

ADR;CHARSET=utf-8:;;Königstraße;Lüneburg;;11111;

Desktop

  • OS: Windows
  • Browser Chrome
  • Version 111.0.5563.65

Thanx

Ana

@ana-oleski ana-oleski added the bug Something isn't working label Mar 20, 2023
@github-actions
Copy link

This issue is stale because it has been open at least 30 days with no activity. Comment or this issue will be closed in 14 days.

@github-actions github-actions bot added the stale label Apr 20, 2023
@github-actions
Copy link

github-actions bot commented May 5, 2023

This issue was closed because it has been stalled for 14 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-stale
Projects
None yet
Development

No branches or pull requests

2 participants