We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2072

Summary: Make OS X's filesystem calls use -[NSString fileSystemRepresentation]
Product: SDL Reporter: C.W. Betts <computers57>
Component: fileAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.1   
Hardware: x86   
OS: Mac OS X 10.8   
Attachments: use fileSystemRepresentation instead of UTF8String

Description C.W. Betts 2013-08-28 22:30:48 UTC
Created attachment 1312 [details]
use fileSystemRepresentation instead of UTF8String

The recommended way of getting a file name that POSIX file APIs can open in OS X when using an NSString is -[NSString fileSystemRepresentation]. However, the current filesystem API in hg uses -[NSString UTF8String].
Comment 1 Sam Lantinga 2013-10-21 07:21:01 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/42da269b7977