• 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: string encoding over java bridge
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: string encoding over java bridge


  • Subject: Re: string encoding over java bridge
  • From: Mike Hall <email@hidden>
  • Date: Thu, 04 Nov 2004 05:02:56 -0600

From: Eric Blenkush <email@hidden>


> I have a NSString with a special character(a down arrow from
> "Edit"->"Special Characters") which prints out fine using NSLog, but
...
>//use bytes from the NSData object to create a String assuming a UTF-8

You would need to convert to a java encoding that understands the special character. UTF-8 almost certainly does not. I'm not sure what would.
Somewhat off-topic, I'm curious about the use of the java bridge as indicated. Is there documentation of any kind I can look at somewhere to see how that is used?

Mike Hall      mikehall at spacestar dot net
http://www.spacestar.net/users/mikehall
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Creating keyboard equivalents for NSScrollView? (From: Michael Heinz <email@hidden>)
 >string encoding over java bridge (From: Eric Blenkush <email@hidden>)

  • Prev by Date: Editing in NSOutlineView.
  • Next by Date: How can an app be aware of other apps events?
  • Previous by thread: string encoding over java bridge
  • Next by thread: Re: Creating keyboard equivalents for NSScrollView?
  • Index(es):
    • Date
    • Thread