Am Mo,18.08.2008 um 13:18 schrieb Robert Černý:

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 converted through MacOS Roman encoding even the visual representation in java is correct.
Ah, for debugging purpose only.

I think, that it is difficult to get the NSString backend, since it is a abstract baseclass to a class cluster.

But there is a clipboard viewer app in the examples, which lets you inspect the raw data. Maybe this helps to find the problem.

Cheers,
Amin


Robert

2008/8/18 Negm-Awad Amin <[EMAIL PROTECTED]>

Am Mo,18.08.2008 um 12:40 schrieb Robert Černý:


I don't like it because the string will be converted. I'm interested in exact values

Oh, may I ask why? The string class encapsulates its representation.

Anyway, if you want to look "inside" the instance, you probably have 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 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

BTW: This isn't the hex representation, but the binary, serialized representation. Hex, octal and so on are terms used in relation to display something.



Thanks
Robert
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/negm-awad%40cocoading.de

This email sent to [EMAIL PROTECTED]

Amin Negm-Awad
[EMAIL PROTECTED]







Amin Negm-Awad
[EMAIL PROTECTED]






Amin Negm-Awad
[EMAIL PROTECTED]




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to