• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hex representation of NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hex representation of NSString


  • Subject: Re: Hex representation of NSString
  • From: Negm-Awad Amin <email@hidden>
  • Date: Tue, 19 Aug 2008 10:03:05 +0200


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. I've got data with accented
characters which gets converted through MacOS Roman encoding even the visual
representation in java is correct.

It sounds like you don't really want to use NSString at all. Have you tried just using -[NSPasteboard dataForType:] instead of - [NSPasteboard stringForType:] to get the raw pasteboard data as it's coming from the Java application?
Yes, I think, that the other answer tries to solve the problem "too late". He should look insinde the pasteboard before a string instance is even in mind.



Charles
Cheers,
Amin

Amin Negm-Awad
email@hidden




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >Hex representation of NSString (From: "Robert Černý" <email@hidden>)
 >Re: Hex representation of NSString (From: Negm-Awad Amin <email@hidden>)
 >Re: Hex representation of NSString (From: "Robert Černý" <email@hidden>)
 >Re: Hex representation of NSString (From: Negm-Awad Amin <email@hidden>)
 >Re: Hex representation of NSString (From: "Robert Černý" <email@hidden>)
 >Re: Hex representation of NSString (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: NSCalendarDate to be deprecated
  • Next by Date: Re: document based app, custom ibaction
  • Previous by thread: Re: Hex representation of NSString
  • Next by thread: Re: Hex representation of NSString
  • Index(es):
    • Date
    • Thread