Re: git on MacOSX and files with decomposed utf-8 file names
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Jan 17, 2008, 13:40 UTC
- Message-ID
- <526D0C73-A004-4A2A-A177-274D2602D8DD@wincent.com>
- In-Reply-To
- <alpine.LSU.1.00.0801171252540.17650@racer.site>
El 17/1/2008, a las 13:53, Johannes Schindelin escribió:
Show 9 quoted lines
> Hi, > > On Thu, 17 Jan 2008, Wincent Colaiuta wrote: > >> On Mac OS X we have (unfortunately only 10.4 and up): > > That remark about the version raises my eyebrows. Where I live, > 10.2.8 is > _still_ quite common.
There may be alternatives that I don't know about.
All the way back to 10.0 you have -[NSString fileSystemRepresentation], which does the same thing but that's Objective-C. I wouldn't be surprised if that's just a wrapper for the CF functions; that's often the way it is on Mac OS X. And often, the CF functions *are* present on older systems, but they're just not declared in public headers. I wouldn't actually recommend using a private SPI, but they are often there.
Cheers, Wincent