At 10:14 -0400 8/7/09, Patrick Woolsey wrote:
<http://faq.barebones.com/do_getanswer.php?record_id=36>

BBEdit and TextWrangler represent open documents as Unicode, which uses two 
bytes for each character. Combined with an internal Mac OS X limitation, this 
means that you can open files up to 384 megabytes in size (402,653,184 
characters).

I was into that some time ago and decided I was being too pedantic but. . .

The character count appears to be 384 * 1204^2 which would be mebibytes. It's a 
shame to have to ask but the Computer Science folks made a serious mistake when 
they usurped the metric abbreviations likely well known to users of text 
editors. Many users would wonder if the author made a mistake in multiplication.

And what if the source file is encoded as U-16 or U-08? Can BBEdit open an 805 
megabyte file with a 16 bit BOM? Is it limited to files even smaller than 402 
megabytes if it is UTF-08 with a large number of three byte characters? Does 
BBEdit read the entire file into memory and then convert it to U-16? If so is 
it an in-place conversion?

The thought of encountering a U-32 file is scary. What happens if a file is 
split in the middle of a two-byte character?

In short is the limit  402,653,184 bytes of  file size or 402,653,184 
characters as preprocessed by BBEdit?

I know. The answer is "all that is proprietary".  sigh.

-- 
--> Marriage and kilo are troubled words. Turmoil results when centuries-old 
usage is altered in specialized jargon <--.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[email protected]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to