• 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: LATIN SMALL LETTER U WITH DIAERESIS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LATIN SMALL LETTER U WITH DIAERESIS


  • Subject: Re: LATIN SMALL LETTER U WITH DIAERESIS
  • From: Tom Davie <email@hidden>
  • Date: Thu, 18 Jul 2013 00:54:10 +0200

A workaround would be to use +[NSFileHandle fileHandleForWritingAtURL: error:] and -[NSFileHandle fileDescriptor] to get you a FD to use in C land.

Tom Davie

On Jul 17, 2013, at 11:26 PM, koko <email@hidden> wrote:

> With this character:
>
> LATIN SMALL LETTER U WITH DIAERESIS
> Unicode: U+00FC, UTF-8: C3 BC
>
> in a file path (as the folder name)
>
> which I get from the NSSavePanel -filename I cannot save to the path.
>
> Some code
>
> NSString *filepath = [savePanel filename];
> const char * cFilePath = [[NSFileManager defaultManager] fileSystemRepresentationWithPath:filepath];
>
>
> Then in my low level I/O:
>
> FILE* f = NULL;
> f = fopen(path, mode);
>
> f is NULL i.e. path (the cFilePath from above) cannot open a file file writing.
>
> How should I get around this?
>
> -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


  • Follow-Ups:
    • Re: LATIN SMALL LETTER U WITH DIAERESIS
      • From: koko <email@hidden>
References: 
 >LATIN SMALL LETTER U WITH DIAERESIS (From: koko <email@hidden>)

  • Prev by Date: Re: Re-booting after changing Icons in OS X Doc app
  • Next by Date: NSUndoManager Won't Redo
  • Previous by thread: Re: LATIN SMALL LETTER U WITH DIAERESIS
  • Next by thread: Re: LATIN SMALL LETTER U WITH DIAERESIS
  • Index(es):
    • Date
    • Thread