ifrotz / iosfrotz

Frotz for iOS source (formerly at code.google.com/p/iphonefrotz)
Other
49 stars 16 forks source link

Use fileSystemRepresentation for POSIX APIs #267

Closed MaddTheSane closed 9 years ago

MaddTheSane commented 9 years ago

Using -[NSString UTF8String] to pass to POSIX APIs like fopen isn't recommended, at least not on OS X, as the ordering of the UTF-16 code pages (used in HFS+) may be slightly different.

I don't know how this relates to iOS, though.