• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: String Encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String Encoding


  • Subject: Re: String Encoding
  • From: koko <email@hidden>
  • Date: Tue, 12 Jun 2012 15:43:55 -0600

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 <email@hidden> 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 <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
> _______________________________________________
>
> 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

  • Follow-Ups:
    • Re: String Encoding
      • From: Aki Inoue <email@hidden>
References: 
 >String Encoding (From: koko <email@hidden>)
 >Re: String Encoding (From: Aki Inoue <email@hidden>)
 >Re: String Encoding (From: Stephane Sudre <email@hidden>)

  • Prev by Date: Re: NSSavePanel default file type
  • Next by Date: Re: String Encoding
  • Previous by thread: Re: String Encoding
  • Next by thread: Re: String Encoding
  • Index(es):
    • Date
    • Thread