Re: Really big files and encodings
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