• 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: path names with spaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: path names with spaces


  • Subject: Re: path names with spaces
  • From: Ben Jansen <email@hidden>
  • Date: Wed, 16 Jan 2002 17:32:00 -0800

On Wednesday, January 16, 2002, at 05:01 PM, Andreas Wolf wrote:
<snip>

char n[2];
n[0]=0x5c; // backslash character
n[1]=0x0; // c string delimiter
NSLog([NSString stringWithCString:n];

what I get as output are four backslash characters ("\\\\").
Is there a bug in how cocoa handles the \ character?

This was previously discussed; NSLog itself is causing the backslashes to be improperly displayed.


References: 
 >path names with spaces (From: Andreas Wolf <email@hidden>)

  • Prev by Date: path names with spaces
  • Next by Date: Re: Re[1] Output from NSTask and modal window
  • Previous by thread: path names with spaces
  • Next by thread: Re: path names with spaces
  • Index(es):
    • Date
    • Thread