Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Non-Ascii Characters in Contacts cause encoding error #17
First of all, thank you very much for this nice script!
ppl: incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)
In my case the character ppl could not digest was the character 'ß', which is very common in German addresses, for it's part of the German word for street, "Straße". For now I worked around this issue, by setting:
Obviously this is not the correct way to deal with this issue, so please fix it in the ppl source.
I'm still struggling to figure this one out. I'm now awaiting a response from Sam Roberts - the developer of vpim - who can hopefully explain to me what nuances are required in the invocation of his gem when UTF-8 is involved. Here's the question I've sent him, in full, just in case anybody else out there can offer any insight:
I know this isn't exactly tangible progress, but I wanted to make it clear that I haven't given up on this issue!
According to the response from Sam Roberts, the problem may be as simple as vpim not quite supporting the String class in Ruby 1.9.1 yet. He seems optimistic about sorting this out in the not-too-distant future, and I'll be sure to follow any upstream progress with a new release of ppl as quickly as possible.
So stay tuned: it looks like this might be a thing of the past sometime soon.