iSync and Motorola v190 - Character Encoding Issues
I've been trying to write a custom iSync plugin for the Motorola v190 (USB). In theory, this phone should be similar to other existing Motorola phone such as the v180 and v188 - all of these phones have the same Product ID and Vendor ID (0x4902/0x22b8).
I've gotten the phone to show up within iSync successfully, but when I attempt to sync between the phone and my Mac, the sync fails. Here are the errors logged to console.log (names changed for privacy):
<pre>20:23:03.687 [iSync:479] ERROR (IPH): problem to convert '"John Doe"' using 'UTF8'
20:23:03.688 [iSync:479] ERROR (.sync.SyncConduitManager): Exception catch: * -[NSCFDictionary setObject:forKey:]: attempt to insert nil value
2006-07-01 20:23:04.057 iSync[479] we receive the end of our sync plan</pre>
Note that, in this case, "John Doe" is a name which appears on the phone's internal contact list, but not in the computer's address book. So, the plugin is in fact collecting contract data from the phone, and is reading the data sufficiently well to put a readable name into console.log. However, the sync is still failing, apparently because of an encoding error.
I've already tried setting the stringEncoding key inside my Metaclasses.plist file, using 'UCS2', 'ASCII', and 'UTF8' alternately. Not only do none of these work, none of them even change the error output - the name still appears as "'John Doe'", and the error still reports "using 'UTF8'". Given this, I'm wondering if using the stringEncoding key is actually having any effect.
Can anyone shine any light on this problem?
MacBook Pro Mac OS X (10.4.7)