• 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: Loop marker name umlaut question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loop marker name umlaut question


  • Subject: Re: Loop marker name umlaut question
  • From: Steve Checkoway <email@hidden>
  • Date: Fri, 28 Jul 2006 00:24:49 -0700


On Jul 25, 2006, at 10:51 PM, tahome izwah wrote:
I have successfully integrated writing loop markers to sound files
using Doug's suggestion of mixing the ExtAudioFile and AudioFile APIs
but I am encountering a little problem with German umlaut characters
(you know, the funny ä, ö ü characters, vowels with two dots over
them). I am setting the marker name using CFSTR("marker name") for
now, but the umlaut characters get converted like this in QuickTime
and any other application that can display marker names:

"Dies ist ein längerer hübscher schöner Markername" ->
"Dies ist ein längerer hübscher schöner Markername"

What can I do so the names are displayed as they should?

My guess is that you're using utf-8 for encoding the umlaut and CFSTR is probably expecting MacRoman. You should try CFStringCreate() (or whatever the name of that function is) and use the flag specifying that it is utf-8. Or, you could use MacRoman in your source code.


Ah, I just noticed that in the CFString.h header, this little comment about CFSTR():

At this point non-7 bit characters (that is, characters > 127) in CFSTR() are not
supported and using them will lead to unpredictable results. This includes escaped
(\nnn) characters whose values are > 127. Even if it works for you in testing,
it might not work for a user with a different language preference.



-- Steve Checkoway



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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Loop marker name umlaut question
      • From: "tahome izwah" <email@hidden>
References: 
 >Loop marker name umlaut question (From: "tahome izwah" <email@hidden>)

  • Prev by Date: Re: GetParameterList in ableton Live problem
  • Next by Date: Questions about AUHAL device stream format
  • Previous by thread: Loop marker name umlaut question
  • Next by thread: Re: Loop marker name umlaut question
  • Index(es):
    • Date
    • Thread