avoid CHARSET=UTF-8 without quoted-printable encoding
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@214 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
parent
b87d8ba2fd
commit
84c3044a00
4
NEWS
4
NEWS
|
@ -1,6 +1,8 @@
|
|||
SyncEvolution 0.4, xxxxxxx
|
||||
--------------------------
|
||||
|
||||
* fix: in vCard 2.1 7-bit is the default encoding, so 8-bit
|
||||
UTF-8 characters are now avoided with quoted-printable encoding
|
||||
(illegal encoding had not caused problems though)
|
||||
* fix for 0.4 pre 1: sending CHARSET is not allowed (and not
|
||||
needed) for vCard 3.0, so it was removed again (did not harm
|
||||
either)
|
||||
|
|
|
@ -431,6 +431,11 @@ void VObject::fromNativeEncoding()
|
|||
|
||||
if (currIsUTF8) {
|
||||
utf8 = true;
|
||||
if (!is_30 && !doquoted) {
|
||||
// vCard 2.1 defaults to 7-bit; instead of
|
||||
// overriding that we fall back to quoted-printable
|
||||
doquoted = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (doquoted &&
|
||||
|
|
Loading…
Reference in New Issue