Re: LATIN SMALL LETTER U WITH DIAERESIS

2013-07-18 Thread Tom Davie
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 k...@highrolls.net wrote: With this character: LATIN SMALL LETTER U WITH DIAERESIS Unicode: U

Re: LATIN SMALL LETTER U WITH DIAERESIS

2013-07-18 Thread koko
in C land. Tom Davie On Jul 17, 2013, at 11:26 PM, koko k...@highrolls.net 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

LATIN SMALL LETTER U WITH DIAERESIS

2013-07-17 Thread koko
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

Re: LATIN SMALL LETTER U WITH DIAERESIS

2013-07-17 Thread Keary Suska
On Jul 17, 2013, at 3:26 PM, koko 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

Re: LATIN SMALL LETTER U WITH DIAERESIS

2013-07-17 Thread Uli Kusterer
On Jul 17, 2013, at 23:26, koko k...@highrolls.net wrote: 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.