Issue #98 wontfix
I'm examining the plist file Library/Preferences/com.apple.loginitems.plist. It seems that pyObjC cannot handle the UTF-16 encoded Alias data.
Here is the Carbon version of what I want to do:
alias = Carbon.File.Alias(rawdata=rawdata) path, some_flags = alias.FSResolveAlias(None) print path.as_pathname()
This is the CoreFramework version that fails:
CoreFoundation.CFURLCreateByResolvingBookmarkData(None, data, 0, None, None, None, None) (None, False, <repr(<objc.__NSCFError at 0x108eee9d0>) failed: UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 57: ordinal not in range(128)>)