Re: String Encoding
Re: String Encoding
- Subject: Re: String Encoding
- From: Aki Inoue <email@hidden>
- Date: Tue, 12 Jun 2012 13:40:20 -0700
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 <email@hidden> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden