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

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


  • Subject: Re: Omission of % character when loading a string from a file?
  • From: Michael Latta <email@hidden>
  • Date: Thu, 26 Dec 2002 09:30:22 -0800

Is the file Unicode? Does it have the unicode encoding bytes at the front of the file? How was the file created?

Michael Latta

On Thursday, December 26, 2002, at 09:13 AM, Jan Van Boghout wrote:

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.
_______________________________________________
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.

References: 
 >Omission of % character when loading a string from a file? (From: Jan Van Boghout <email@hidden>)

  • Prev by Date: Omission of % character when loading a string from a file?
  • Next by Date: Re: Omission of % character when loading a string from a file?
  • Previous by thread: Omission of % character when loading a string from a file?
  • Next by thread: Re: Omission of % character when loading a string from a file?
  • Index(es):
    • Date
    • Thread