All the accented chars, for example, are represented differently. Aki Inoue
On 2012/06/12, at 14:43, koko <k...@highrolls.net> wrote: > OK. NSUTF8 it is. I just sent a beta to Norway so I'll know more in the > next 24 hours. > > -koko > > > On Jun 12, 2012, at 3:13 PM, Stephane Sudre wrote: > >> Do you have examples in mind where the result of - [NSFileManager >> fileSystemRepresentationWithPath] differs from the one of - [NSString >> UTF8String]? >> >> On Tue, Jun 12, 2012 at 1:40 PM, Aki Inoue <a...@apple.com> wrote: >>> When dealing with the file system pathnames, you should use the file system >>> representation methods from NSString/NSFileManager. >>> >>> Specifically, -[NSFileManager fileSystemRepresentationWithPath:] and >>> -[NSFileManager stringWithFileSystemRepresentation:]. >>> >>> Aki >>> >>> On 2012/06/12, at 12:42, koko <k...@highrolls.net> wrote: >>> >>>> I have international users who may have things like umlaut in file names / >>>> paths which I may get as CStrings given our Model. >>>> >>>> What NS string encoding should be used to preserve the umlaut and not >>>> crash? Is NSUTF8 OK? >>>> >>>> -koko >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> >>>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >>>> >>>> Please do not post admin requests or moderator comments to the list. >>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >>>> >>>> Help/Unsubscribe/Update your Subscription: >>>> https://lists.apple.com/mailman/options/cocoa-dev/aki%40apple.com >>>> >>>> This email sent to a...@apple.com >>> >>> >>> _______________________________________________ >>> >>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >>> >>> Please do not post admin requests or moderator comments to the list. >>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >>> >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/cocoa-dev/dev.iceberg%40gmail.com >>> >>> This email sent to dev.iceb...@gmail.com >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/cocoa-dev/koko%40highrolls.net >> >> This email sent to k...@highrolls.net >> > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/aki%40apple.com > > This email sent to a...@apple.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com