• 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
completePathIntoString doesn't work with unicode paths??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: completePathIntoString doesn't work with unicode paths??
      • From: Fritz Anderson <email@hidden>
    • Re: completePathIntoString doesn't work with unicode paths??
      • From: Satoshi Matsumoto <email@hidden>
    • Re: completePathIntoString doesn't work with unicode paths??
      • From: Bob Ippolito <email@hidden>
  • Prev by Date: Re: Manual KVO and will/didChangeValueForKey
  • Next by Date: Re: completePathIntoString doesn't work with unicode paths??
  • Previous by thread: Re: Bug in NSImageView / NSPDFImageRep in Tiger?
  • Next by thread: Re: completePathIntoString doesn't work with unicode paths??
  • Index(es):
    • Date
    • Thread