• 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: swprintf fails with extended character codes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: swprintf fails with extended character codes


  • Subject: Re: swprintf fails with extended character codes
  • From: "Paul Sanders" <email@hidden>
  • Date: Fri, 9 Apr 2010 21:17:52 +0100

Wide string to multibyte character conversions going on behind your back is the last thing you want from swprintf.  It should be wchar_t transparent when processing wide strings and wide characters, but it isn't.  That's why I abandoned it, a decision which has served me well.
 
I think the OP and I both have existing code, based on wide strings, which we want to reuse.  swprintf, as implemented by glibc, gets in the way of that.  The discussion about cross-platform strings in the referenced thread rather misses the point.
 
Paul Sanders.
 
----- Original Message -----
From: "Dan Korn" <email@hidden>
To: "XCode Apple" <email@hidden>
Sent: Friday, April 09, 2010 8:50 PM
Subject: Re: swprintf fails with extended character codes

Take a look at this thread:
http://lists.apple.com/archives/carbon-dev/2007/May/msg00575.html

Specifically, from this post forward:
http://lists.apple.com/archives/carbon-dev/2007/May/msg00585..html

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

This email sent to email@hidden

References: 
 >swprintf fails with extended character codes (From: Ben Staveley-Taylor <email@hidden>)
 >Re: swprintf fails with extended character codes (From: Dan Korn <email@hidden>)

  • Prev by Date: Re: swprintf fails with extended character codes
  • Next by Date: Xcode constantly crashing with Perforce & 10.6.3
  • Previous by thread: Re: swprintf fails with extended character codes
  • Next by thread: Re: swprintf fails with extended character codes
  • Index(es):
    • Date
    • Thread