GetApplicationTextEncoding & "carbon free"

2008-11-21 Thread spsaxena
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 sugge

Re: GetApplicationTextEncoding & "carbon free"

2008-11-21 Thread Jean-Daniel Dupas
Le 21 nov. 08 à 10:42, spsaxena a écrit : 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 carbo

Re: GetApplicationTextEncoding & "carbon free"

2008-11-21 Thread spsaxena
As per my understanding Carbon framework will be deprecated or completely removed in future versions of OSX. Well that's the only reason I wish to remove the carbon framework from my application now. On Fri, Nov 21, 2008 at 3:21 PM, Jean-Daniel Dupas <[EMAIL PROTECTED]>wrote: > > Le 21 nov. 08 à

Re: GetApplicationTextEncoding & "carbon free"

2008-11-21 Thread Kyle Sluder
On Fri, Nov 21, 2008 at 5:14 AM, spsaxena <[EMAIL PROTECTED]> wrote: > As per my understanding Carbon framework will be deprecated or completely > removed in future versions of OSX. Well that's the only reason I wish to > remove the carbon framework from my application now. Not all of Carbon is "d

Re: GetApplicationTextEncoding & "carbon free"

2008-11-21 Thread Michael Ash
On Fri, Nov 21, 2008 at 4:42 AM, spsaxena <[EMAIL PROTECTED]> 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 ne

Re: GetApplicationTextEncoding & "carbon free"

2008-11-21 Thread Aki Inoue
Hi, Mike's comment is right on. The sole purpose of GetApplicationTextEncoding() is to provide functional compatibility with OS 9-era localization resources such as STR#. There really shouldn't be any need to make your app rely on the single script approach even for a modern CFString-based

Re: GetApplicationTextEncoding & "carbon free"

2008-11-21 Thread Deborah Goldsmith
And if you really, really need to access legacy Mac OS 9 text files, the correct encoding to use is CFStringGetSystemEncoding(), which is in CoreFoundation. GetApplicationTextEncoding(): legacy encoding (if any) corresponding to the language *the app is running in*. As Aki says, it's for

Re: GetApplicationTextEncoding & "carbon free"

2008-11-24 Thread spsaxena
Thanks all for your reply. I would like to go with your suggestion of removing it. S! On Fri, Nov 21, 2008 at 8:57 PM, Michael Ash <[EMAIL PROTECTED]> wrote: > On Fri, Nov 21, 2008 at 4:42 AM, spsaxena <[EMAIL PROTECTED]> wrote: > > Hi all, > > I am working on making my application carbon free. I