Hi all! i'm at war with unicode python and cocoa, and seem that i cannot win... =) i've wrote this function: def makeNSString(self, oldString): try: oldString = NSString.stringWithUTF8String_(oldString) return oldString except Exception, e: print Exception, e return oldString And it work, now in my app i have all the è,à,ò,ù correctly written, but it raise this exception each time: exceptions.Exception depythonifying 'charptr', got 'unicode' This is normal? what can i do? ;) Thanks a lot people |
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig