• 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: [Carbon] Using Speech in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Carbon] Using Speech in Cocoa


  • Subject: Re: [Carbon] Using Speech in Cocoa
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 1 Oct 2001 14:03:08 -0700

On Monday, October 1, 2001, at 10:09 AM, Ali Ozer wrote:

Note that CFStringGetPascalString() might also return NULL if the
conversion can't be done to the specied encoding... At that point
though you're done, unless you want to try other encodings.

For the purpose of getting a speakable Pascal string out, you may wish to use lossy conversion rather than fail if there is an occasional substring that cannot be converted. However, this depends somewhat on your application. Note that all of the currently shipping voices are designed to speak North American English, so the uses of encodings beyond ASCII or perhaps Mac OS Roman are likely to be limited.

Douglas Davidson


  • Follow-Ups:
    • Re: [Carbon] Using Speech in Cocoa
      • From: Ricky Sharp <email@hidden>
References: 
 >Re: [Carbon] Using Speech in Cocoa (From: Ali Ozer <email@hidden>)

  • Prev by Date: Re: NSScrollView and general IB annoyance
  • Next by Date: Re: __MyCompanyName__
  • Previous by thread: Re: [Carbon] Using Speech in Cocoa
  • Next by thread: Re: [Carbon] Using Speech in Cocoa
  • Index(es):
    • Date
    • Thread