Re: CopyCStringToPascal
Re: CopyCStringToPascal
- Subject: Re: CopyCStringToPascal
- From: Bryan Pietrzak <email@hidden>
- Date: Thu, 16 Jun 2005 11:07:30 -0500
On Jun 16, 2005, at 5:03 AM, Eric Albert wrote:
I think the theory there is that Pascal strings themselves are not
encouraged any more. You should switch from APIs that use Pascal
strings to more modern APIs that are Unicode-friendly.
Marking these string converters as deprecated is a bit foolish in my
opinion and a bit too over-bearing of Apple.
Strings in various formats come from many sources (legacy data files,
legacy config/preference files, over the wire in legacy data
structures) and are used for many purposes BEYOND just UI and therefore
don't *need* to be UTF-anything.
I was so pleased to see Apple add these APIs years ago so every project
I worked on didn't have it own stupid set of string converters. Now
we'll all be right back where we were because people will be afraid to
use a "deprecated" API. Ugh.
Bryan
_______________________________________________
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