FROM : Clark Cox
DATE : Mon Dec 20 20:10:58 2004
On Mon, 20 Dec 2004 18:01:14 +0100, Christoffer Lerno <<email_removed>> wrote:
> I thought I had renaming files nailed down by using NSFileManager's
> movePath:toPath:handler: but it has problems with spaces & non ascii
> characters in filenames - the documentation unfortunately doesn't
> reveal how this is circumvented.
Where are you getting the filenames from? As a test, I just used
NSFileManager to rename a file whose name contained several accented
characters, a Japanese character and several spaces. It went off
without a hitch. I suspect that there is something wrong with the way
that you're obtaining your filenames.
--
Clark S. Cox III
<email_removed>
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/
DATE : Mon Dec 20 20:10:58 2004
On Mon, 20 Dec 2004 18:01:14 +0100, Christoffer Lerno <<email_removed>> wrote:
> I thought I had renaming files nailed down by using NSFileManager's
> movePath:toPath:handler: but it has problems with spaces & non ascii
> characters in filenames - the documentation unfortunately doesn't
> reveal how this is circumvented.
Where are you getting the filenames from? As a test, I just used
NSFileManager to rename a file whose name contained several accented
characters, a Japanese character and several spaces. It went off
without a hitch. I suspect that there is something wrong with the way
that you're obtaining your filenames.
--
Clark S. Cox III
<email_removed>
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/
| Related mails | Author | Date |
|---|---|---|
| Christoffer Lerno | Dec 20, 18:01 | |
| Clark Cox | Dec 20, 20:10 | |
| Jeremy Dronfield | Dec 20, 23:11 | |
| Brendan Younger | Dec 20, 23:29 | |
| Andrew Farmer | Dec 21, 00:04 | |
| Christoffer Lerno | Dec 21, 12:20 | |
| Clark Cox | Dec 21, 15:27 | |
| Christoffer Lerno | Dec 22, 10:41 | |
| Christoffer Lerno | Dec 22, 10:56 | |
| Jeremy Dronfield | Dec 22, 15:03 | |
| Clark Cox | Dec 22, 17:30 | |
| Clark Cox | Dec 22, 17:35 | |
| Jeremy Dronfield | Dec 22, 18:54 | |
| Christoffer Lerno | Dec 22, 20:03 | |
| Christoffer Lerno | Dec 22, 20:10 | |
| Clark Cox | Dec 22, 20:30 | |
| Andreas Mayer | Dec 22, 20:35 | |
| Clark Cox | Dec 22, 21:04 | |
| Christoffer Lerno | Dec 23, 10:53 |






Cocoa mail archive

