• 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: Really big files and encodings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Really big files and encodings


  • Subject: Re: Really big files and encodings
  • From: Seth Willits <email@hidden>
  • Date: Wed, 22 Apr 2009 13:26:12 -0700

On Apr 22, 2009, at 8:09 AM, Michael Ash wrote:

Do your files have regularly occurring newlines like most normal text
files? If so, then you can just scan for a \r or \n and break it up
there. Virtually every encoding you'll encounter today encodes \r and
\n as \r and \n, and will not use those bytes for anything else.

You know what... I should have thought of that. :-)

I remembered we all talked about something very similar on a previous thread and I now I remember that I even brought up this same idea since I'm doing it elsewhere in this same app, but I totally didn't even think of it this time.

Heh. Well shoot. Nevermind. :-)


Thanks,

--
Seth Willits



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Really big files and encodings (From: Seth Willits <email@hidden>)
 >Re: Really big files and encodings (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: objc_exception_throw prior to launching nib file
  • Next by Date: Re: objc_exception_throw prior to launching nib file
  • Previous by thread: Re: Really big files and encodings
  • Next by thread: Re: Really big files and encodings
  • Index(es):
    • Date
    • Thread