• 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: Information regarding UTF-8 code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Information regarding UTF-8 code


  • Subject: Re: Information regarding UTF-8 code
  • From: j o a r <email@hidden>
  • Date: Mon, 29 Aug 2005 16:50:40 +0200


On 29 aug 2005, at 12.20, Ratan Bhangale wrote:

We are building application on MAC OS using Cocoa framework and Objective C.
All the messages which are to be displayed dynamically to the user should be
encoded using UTF-8. We want some sample code which will guide us about how
to convert plain text or Unicode to UTF-8.

I don't quite get what you're asking about. Basically there is three things to keep in mind with regards to Cocoa and string encodings:


1) When you create NSString objects from some external data source you need to specify what type of string encoding that data source is using.

2) Once you have NSString objects, and pass them around inside your Cocoa application, you usually don't have to care about string encodings.

3) If you want to export string data from NSString objects to pass on to some external data source, you need to specify what type of encoding to use for the export.

Can you try to re-phrase your question?

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Information regarding UTF-8 code (From: "Ratan Bhangale" <email@hidden>)

  • Prev by Date: Re: Problem using NSSpliter, not able to Regain the size of Shrink Subviews, and how to get the previous changed Splitter Window on Relaunching
  • Next by Date: Re: Different System Fonts in Tiger, Panther, etc.
  • Previous by thread: Re: Information regarding UTF-8 code
  • Next by thread: How to handle this bindings/core data use case?
  • Index(es):
    • Date
    • Thread