completePathIntoString doesn't work with unicode paths??
completePathIntoString doesn't work with unicode paths??
- Subject: completePathIntoString doesn't work with unicode paths??
- From: Jonathan del Strother <email@hidden>
- Date: Fri, 3 Jun 2005 02:28:10 +0100
I'm struggling with NSString & some Unicode pathnames. My worst-case
scenario test file is something called "Artist-SigurRós,Album-()和
紙.tiff"
I'm constructing the full path of that file without the extension,
then using "completePathIntoString" to get all the files that start
with "Artist-SigurRós,Album-()和紙". It tells me there are no
matches - I know there are two.
However, if I strip down the filename even further, to "Artist-
SigurR", then use completePathIntoString, it works fine.
Is this a bug, or am I missing some Unicode subtlety that I need to
fix somewhere?
[Incidentally, is there any way to have the debugger console display
Unicode properly? NSLog(filename) displays the full path, but going
to the console and typing 'po filename' strips out the non-ascii
characters. ]
Cheers,
Jon _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden