Hex representation of NSString

2008-08-18 Thread Robert Černý
Hi,I'm trying to find a way how to get hex representation of NSString. I know I can convert NSString to NSData but I would like to rather not to do it. Or am I missing anything obvious? Thanks Robert ___ Cocoa-dev mailing list (Coco

Re: Hex representation of NSString

2008-08-18 Thread Negm-Awad Amin
Am Mo,18.08.2008 um 12:21 schrieb Robert Černý: Hi,I'm trying to find a way how to get hex representation of NSString. I know I can convert NSString to NSData but I would like to rather not to do it. Or am I missing anything obvious? Maybe: Do it this way. Why don't you like i

Re: Hex representation of NSString

2008-08-18 Thread Robert Černý
Hi,I'm trying to find a way how to get hex representation of NSString. I >> know I can convert NSString to NSData but I would like to rather not to do >> it. Or am I missing anything obvious? >> > Maybe: Do it this way. > > Why don't you like it? > &g

Re: Hex representation of NSString

2008-08-18 Thread Negm-Awad Amin
ave to subclass it or doing some undocumentated stuff. Cheers, Amin and even allowLossyConversion:NO doesn't guarantee it. Or am I wrong? Robert 2008/8/18 Negm-Awad Amin <[EMAIL PROTECTED]> Am Mo,18.08.2008 um 12:21 schrieb Robert Černý: Hi,I'm trying to find a way how to

Re: Hex representation of NSString

2008-08-18 Thread Robert Černý
t guarantee it. Or am I wrong? > Robert > 2008/8/18 Negm-Awad Amin <[EMAIL PROTECTED]> > >> >> Am Mo,18.08.2008 um 12:21 schrieb Robert Černý: >> >> Hi,I'm trying to find a way how to get hex representation of NSString. I >>> know I can convert NSSt

Re: Hex representation of NSString

2008-08-18 Thread Negm-Awad Amin
am I wrong? Robert 2008/8/18 Negm-Awad Amin <[EMAIL PROTECTED]> Am Mo,18.08.2008 um 12:21 schrieb Robert Černý: Hi,I'm trying to find a way how to get hex representation of NSString. I know I can convert NSString to NSData but I would like to rather not to do it. Or am I missing

Re: Hex representation of NSString

2008-08-18 Thread Jason Coco
On Aug 18, 2008, at 07:18 , Robert Černý wrote: Actually,I'm trying to debug some weird problems with clipboard. My problem is that data copied into clipboard from legacy java application doesn't match data pasted into Cocoa application. I've got data with accented characters which gets con

Re: Hex representation of NSString

2008-08-18 Thread Clark Cox
On Mon, Aug 18, 2008 at 5:38 AM, Jason Coco <[EMAIL PROTECTED]> wrote: > > On Aug 18, 2008, at 07:18 , Robert Černý wrote: > >> Actually,I'm trying to debug some weird problems with clipboard. My >> problem >> is that data copied into clipboard from legacy java application doesn't >> match data pas

Re: Hex representation of NSString

2008-08-18 Thread Jason Coco
On Aug 18, 2008, at 10:18 , Clark Cox wrote: On Mon, Aug 18, 2008 at 5:38 AM, Jason Coco <[EMAIL PROTECTED]> wrote: On Aug 18, 2008, at 07:18 , Robert Černý wrote: Actually,I'm trying to debug some weird problems with clipboard. My problem is that data copied into clipboard from legacy jav

Re: Hex representation of NSString

2008-08-18 Thread Clark Cox
On Mon, Aug 18, 2008 at 7:38 AM, Jason Coco <[EMAIL PROTECTED]> wrote: > > On Aug 18, 2008, at 10:18 , Clark Cox wrote: > >> On Mon, Aug 18, 2008 at 5:38 AM, Jason Coco <[EMAIL PROTECTED]> wrote: >>> >>> On Aug 18, 2008, at 07:18 , Robert Černý wrote: >>> Actually,I'm trying to debug some weir

Re: Hex representation of NSString

2008-08-18 Thread Jason Coco
On Aug 18, 2008, at 11:38 , Clark Cox wrote: On Mon, Aug 18, 2008 at 7:38 AM, Jason Coco <[EMAIL PROTECTED]> wrote: On Aug 18, 2008, at 10:18 , Clark Cox wrote: On Mon, Aug 18, 2008 at 5:38 AM, Jason Coco <[EMAIL PROTECTED]> wrote: On Aug 18, 2008, at 07:18 , Robert Černý wrote: Actual

Re: Hex representation of NSString

2008-08-18 Thread Chris Blättermann
:21 schrieb Robert Černý: Hi,I'm trying to find a way how to get hex representation of NSString. I know I can convert NSString to NSData but I would like to rather not to do it. Or am I missing anything obvious? Maybe: Do it this way. Why don't you like it? Cheers, Amin

Re: Hex representation of NSString

2008-08-18 Thread Chris Blättermann
Mo,18.08.2008 um 12:21 schrieb Robert Černý: Hi,I'm trying to find a way how to get hex representation of NSString. I know I can convert NSString to NSData but I would like to rather not to do it. Or am I missing anything obvious? Maybe: Do it this way. Why don't you like it? Che

Re: Hex representation of NSString

2008-08-18 Thread Charles Srstka
On Aug 18, 2008, at 6:18 AM, Robert Černý wrote: Actually,I'm trying to debug some weird problems with clipboard. My problem is that data copied into clipboard from legacy java application doesn't match data pasted into Cocoa application. I've got data with accented characters which gets con

Re: Hex representation of NSString

2008-08-19 Thread Negm-Awad Amin
Am Mo,18.08.2008 um 19:15 schrieb Charles Srstka: On Aug 18, 2008, at 6:18 AM, Robert Černý wrote: Actually,I'm trying to debug some weird problems with clipboard. My problem is that data copied into clipboard from legacy java application doesn't match data pasted into Cocoa application.