You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iSync and Motorola v190 - Character Encoding Issues

Hello to all,

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)

Posted on Jul 1, 2006 5:27 PM

Reply
4 replies

Jul 24, 2006 8:48 PM in response to zheaton

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


I'm seeing almost the same error, with the same phone; instead of "John Doe" I am seeing a hex string representing the contact entry. Some entries do get loaded into the phone's address book, but retain the encoded hex string --- no user-friendly contact name. After loading some of the contacts, iSync generates the error above.

Someone? Anyone?



G4/450 Mac OS X (10.4.7)

Jul 24, 2006 9:41 PM in response to zheaton

Problem solved. The V190 uses "UCS2" encoding. You can find a plugin for the V190 here:

http://idisk.mac.com/dbd/Public/PhonePlugins

(DO NOT OPEN the above URL in Safari! Open it from the Finder's "Connect to Server" dialog, or via the Finder's Go/iDisk/Other User's Public Folder menu option.)

Delete the phone from iSync and quit; drop the plugin into /Library/PhonePlugins, launch iSync and add the device.


Mac OS X (10.4.7)

iSync and Motorola v190 - Character Encoding Issues

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.