[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Addresses not importing vcards files
From: |
Sebastian Reitenbach |
Subject: |
Addresses not importing vcards files |
Date: |
Sun, 08 Sep 2013 14:27:56 +0200 |
User-agent: |
SOGoMail 2.0.7 |
Hi,
while testing Addresses for a new release, I figured there are a couple of
problems.
Riccardo suggested to forward them here, I'll separate them in different
threads.
First problem is that Addresses is unable for me to import vcards, even vcards
it successfully exported.
I found that in Addresses/Frameworks/Addresses/ADConverter.m in
- (id<ADInputConverting>) inputConverterWithFile: (NSString*) filename
http://cvs.savannah.gnu.org/viewvc/gap/system-apps/Addresses/Frameworks/Addresses/ADConverter.m?revision=1.4&root=gap&view=markup
its detecting the type of encoding of the file wrongly. With the patch attached,
it works for me. That moves the detection of ASCII encoding before UTF8
encoding.
Without the patch it would detect UTF-8 all the time, and then fail parsing the
vcard.
On the other hand, I could just move the UTF-8 detection to the end.
Are there any recommendations how to solve that best?
This is with gnustep all latest releases on OpenBSD 5.4 -current amd64.
Sebastian
patch-Frameworks_Addresses_ADConverter_m
Description: Binary data
- Addresses not importing vcards files,
Sebastian Reitenbach <=
- Re: Addresses not importing vcards files, Philippe Roussel, 2013/09/10
- Re: Addresses not importing vcards files, Sebastian Reitenbach, 2013/09/10
- Re: Addresses not importing vcards files, Michele Bert, 2013/09/10
- Re: Addresses not importing vcards files, Richard Frith-Macdonald, 2013/09/10
- Re: Addresses not importing vcards files, Sebastian Reitenbach, 2013/09/10
- Re: Addresses not importing vcards files, Richard Frith-Macdonald, 2013/09/10
- Re: Addresses not importing vcards files, Sebastian Reitenbach, 2013/09/10