• 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
Omission of % character when loading a string from a file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Omission of % character when loading a string from a file?


  • Subject: Omission of % character when loading a string from a file?
  • From: Jan Van Boghout <email@hidden>
  • Date: Thu, 26 Dec 2002 18:13:36 +0100

Why is it that when I load a plain text file as a string, every %
character seems to disappear completely?

I use : [[NSMutableString alloc] initWithContentsOfFile:path]

Every single % in that file won't be read, no matter where in the file
it is. Any solutions? This is terribly annoying since I need to have
those percentage signs in my file.

Greetings,

Jan Van Boghout
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Omission of % character when loading a string from a file?
      • From: Andy Lee <email@hidden>
    • Re: Omission of % character when loading a string from a file?
      • From: Michael Latta <email@hidden>
  • Prev by Date: re: (Somewhat OT) What is Image Capture doing?
  • Next by Date: Re: Omission of % character when loading a string from a file?
  • Previous by thread: Re: NSColor and #xxxxxx format colors
  • Next by thread: Re: Omission of % character when loading a string from a file?
  • Index(es):
    • Date
    • Thread