Hi I use vpim to generate v-cards and all is fine on OS X but on Win systems all my nordic chars look like there in the wrong charset. Can this be controlled from within vpim? cheers Mattias
On Wed, May 28, 2008 at 6:16 AM, Mattias Bodlund <mattias at oncotype.dk> wrote:> Hi > > I use vpim to generate v-cards and all is fine on OS X but on Win systems > all my nordic chars look like there in the wrong charset. Can this be > controlled from within vpim?Generate a vCard using whatever software you are using (Outlook?) that has nordic characters and that you can reimport. Zip it up, and send it to me so I know what is needed. It should be possible. If you have a choice over vCard format, make sure to export vCard 3.0, not vCard 2.0. Cheers, Sam
On Thu, May 29, 2008 at 2:28 AM, Mattias Bodlund <mattias at oncotype.dk> wrote:> Hi again > > I can see that the vcard I generate with vpim is utf-8 and the WIndows are > in iso-8859-1. Could that be the issue?Probably. vCard 2.1 is supposed to contain a charset parameter, that card doesn''t, so its just using an abitrary character set. Not so standard. Could you try these things, and tell me which of them results in vCards that are importable: - convert vPim''s output to ucs-2 (try with and without the BOM, to see if it makes a difference) - prepend a utf-8 BOM to vPim''s output - convert vPim''s output to iso-8859-1 Tell me what works, and I''ll think about a way for vPim to make this easier. Just using latin-1 is obviously the lamest of all possible solutions. Sam
On Mon, Jun 2, 2008 at 1:53 AM, Mattias Bodlund <mattias at oncotype.dk> wrote:> UCS-2 > Works fine both with and without BOM on OS X but shows nothing in XP - shows > as blank crads. > > UTF-8 with BOM > Stops working in both OS X and Win XP > > iso-8859-1 > All fields including nordic chars gets excluded in OS X - works fine in Win > XP.OK, so basically there is no solution that works for both addressbook implementations. Great. Perhaps the best that can be done is a comment in the documentation, then, or do you have any other suggestions? Sam