• 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: GetApplicationTextEncoding & "carbon free"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GetApplicationTextEncoding & "carbon free"


  • Subject: Re: GetApplicationTextEncoding & "carbon free"
  • From: "Michael Ash" <email@hidden>
  • Date: Fri, 21 Nov 2008 10:27:18 -0500

On Fri, Nov 21, 2008 at 4:42 AM, spsaxena <email@hidden> wrote:
> Hi all,
> I am working on making my application carbon free. I could not find any
> replacement for the API "GetApplicationTextEncoding" probably because this
> API has not been marked as deprecated yet. Because of this API I need to
> link with the carbon framework which I don't want. Can you please suggest
> any non-carbon API as a replacement for this API.

May I suggest simply removing it and *not* replacing it?

Language-specific text encodings are evil. Sometimes you have to deal
with them, of course. But if you do, then you should already know what
encoding you're dealing with and shouldn't need an API to give you an
"application" encoding. For places where you are able to choose the
encoding, UTF-8 is the only reasonable ASCII-compatible encoding to
use.

Mike
_______________________________________________

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

  • Follow-Ups:
    • Re: GetApplicationTextEncoding & "carbon free"
      • From: spsaxena <email@hidden>
    • Re: GetApplicationTextEncoding & "carbon free"
      • From: Aki Inoue <email@hidden>
    • NSIndexSet
      • From: David Blanton <email@hidden>
References: 
 >GetApplicationTextEncoding & "carbon free" (From: spsaxena <email@hidden>)

  • Prev by Date: Re: Cocoa "canvas" view ?
  • Next by Date: Re: Autorelease Question
  • Previous by thread: Re: GetApplicationTextEncoding & "carbon free"
  • Next by thread: NSIndexSet
  • Index(es):
    • Date
    • Thread