Bug 465888

Summary: Wrong encoding in address label (ADR;LABEL=...)
Product: [Applications] kaddressbook Reporter: Andrei <tdhj744ra03u>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: montel, tokoe
Priority: NOR    
Version: 5.21.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Test contact

Description Andrei 2023-02-17 02:27:06 UTC
Created attachment 156343 [details]
Test contact

STEPS TO REPRODUCE
1. Consider the following vcard:
```
BEGIN:VCARD
VERSION:4.0
FN:Алиса
N:Алиса;;;;
ADR;TYPE=home;LABEL=тест:;;тест;;;;
END:VCARD
```
2. Import it
3. Open edit window
4. Go to Location tab
5. Notice 

OBSERVED RESULT
Label for the address in address list is unreadable, has wrong encoding
Screenshot: https://imgur.com/QA6uo5Y

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
If you export this contact, encoding is ok again. But when using some external sources for contacts (e.g. EteSync), it uploads contact with broken encoding.
Comment 1 Laurent Montel 2023-02-17 06:02:47 UTC
I confirm it.