On 30/mag/06, at 12:39, Ronald Oussoren wrote:Not teribly relevant, but there's a buglet in your exception dumping code. If you want to print the type of the exception you caught you should use "print e.__class__, e".Yes i know =)) it's an old macro on my editor that i forgot always to change, now
On 30-mei-2006, at 9:33, whamoo wrote:
> 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)
>
On 30/mag/06, at 11:20, Bob Ippolito wrote:Show some code. It's likely that you actually aren't using Python unicode at all given the screenshots. You have 100% reason, there was a problem in my handler for the del.icio.us API =PSorry all and thanks a lot for the support, now i must release a new v
On May 30, 2006, at 1:58 AM, whamoo wrote:
>
> On 30/mag/06, at 10:07, Nicholas Riley wrote:
>
>> What are you trying to do? If the string is already Unicode, PyObjC
>> will make it into a NSString for you.
>
> Ok i have unicode python string, i was building a extra menu on run
> time, but if
On 30/mag/06, at 10:07, Nicholas Riley wrote:What are you trying to do? If the string is already Unicode, PyObjCwill make it into a NSString for you. Ok i have unicode python string, i was building a extra menu on run time, but if I passthe unicode python string for creating the menu, the letter l
On Tue, May 30, 2006 at 09:33:32AM +0200, whamoo wrote:
> 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_(ol
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 Exce