| Summary: | Mangled chars after importing items in UTF-8 from mobile phone | ||
|---|---|---|---|
| Product: | TDE | Reporter: | deloptes |
| Component: | tdepim | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, deloptes, michele.calgaro, slavek.banko |
| Priority: | P5 | ||
| Version: | R14.1.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2575 | ||
| Attachments: | patch for blank in quoted printable beginning of line in multiline string | ||
|
Description
deloptes
2016-09-09 10:52:21 CDT
I just found out that knotes is using the journal resource and writing to ical format, which may explain why I'm observing similar issues in seemingly unrelated knotes application. Why would one write a dcop interface for libkcal journal :| ?! I traced this down to vcal, but not sure if it is coming from vcalformat or something else. Here is an example SUMMARY;ENCODING=QUOTED-PRINTABLE;CHARSET=utf-8:=D0=A2=D0=BE=D0=B2=D0=B0 =D0=B5 =D0=BC=D0=BD=D0=BE=D0=B3=D0=BE =D0=B4=D1= =8A=D0=BB=D0=B3=D0=BE =D0=B7=D0=B0=D0=B3=D0=BB=D0=B0=D0=B2=D0=B8=D0=B5 = =C3=84=C3=9C=C3=9F=C3=96=C3=A4=C3=BC=C3=B6 =D0=B7=D0=B0 =D0=B7=D0=B0=D0= =B4=D0=B0=D1=87=D0=B0 DESCRIPTION;ENCODING=QUOTED-PRINTABLE;CHARSET=utf-8:=D0=A2=D0=BE=D0=B2=D0=B0 =D0=B5 =D0=BC=D0=BD=D0=BE=D0=B3=D0=BE =D0=B4=D1= =8A=D0=BB=D0=B3=D0=BE =D0=B7=D0=B0=D0=B3=D0=BB=D0=B0=D0=B2=D0=B8=D0=B5 = =C3=84=C3=9C=C3=9F=C3=96=C3=A4=C3=BC=C3=B6 =D0=B7=D0=B0 =D0=B7=D0=B0=D0= =B4=D0=B0=D1=87=D0=B0 resulting in DESCRIPTION:Това е много д� �лго заглавие ÄÜßÖäüö за за� �ача SUMMARY:Това е много д� �лго заглавие ÄÜßÖäüö за за� �ача The problem seems to be blank in the beginning of the following line. This breaks the quoted printable conversion in vcal. An easy solution would be to strip blank from start of the line if this is quoted printable (or perhaps also other format), but I don't know how to do this with the yacc vcc.y file properly. I tested this with libkcal/tests$ ./testvcalexport test1.vcs testout.vcs Created attachment 2688 [details]
patch for blank in quoted printable beginning of line in multiline string
Pushed to GIT in hash f26592c4 (master) and cb329419 (r14.0.x). |