• 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: Unicode in XCode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode in XCode?


  • Subject: Re: Unicode in XCode?
  • From: Marshall Clow <email@hidden>
  • Date: Tue, 28 Sep 2004 16:01:09 -0700

Hi all,

I am trying to port a Windows application to Mac OS X using XCode. I have some difficulties with unicode strings (wchar_t*):

- The debugger does not display unicode strings in the variables view. Is there a hidden option somewhere to enable this??

- The size of wchar_t seems to be 4 Bytes on Mac platform, but I would expect it to be 2 Bytes. Is there an option somewhere to change it to (unsigned) short??

Not as far as I know - unless you want to use CodeWarrior.
The size of wchar_t is not defined in the C/C++ standards, so it varies from compiler to compiler.


Due to this annoying fact, many people feel that using wchar_t to store Unicode values is inherently non-portable.

I hope this is the right place for this kind of question.

I believe it is. -- -- Marshall

Marshall Clow     Idio Software   <mailto:email@hidden>

It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
_______________________________________________
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: 
 >Unicode in XCode? (From: Matthias Juwan <email@hidden>)

  • Prev by Date: Unicode in XCode?
  • Next by Date: Re: Unicode in XCode?
  • Previous by thread: Unicode in XCode?
  • Next by thread: Re: Unicode in XCode?
  • Index(es):
    • Date
    • Thread