Re: Writing to file as UTF8 with BOM ?
Re: Writing to file as UTF8 with BOM ?
- Subject: Re: Writing to file as UTF8 with BOM ?
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 30 Oct 2006 15:18:10 -0500
ok, i see then that compression is mostly for transmission purpose.
Yes, and "compression" in this case includes UTF-8. Most text
processing systems store Unicode in memory as UTF-16. Some use
UTF-32, but that's a factor of two storage increase for not much gain
in simplicity. Unicode text processing inherently includes quite a
bit of complexity, next to which the handling of surrogate pairs
(which is how you get code points >65,535 into UTF-16) is not a big
deal.
i suppose also for sufficiently high volume of data because there is
a cost to compress/uncompress.
In-memory storage and processing are both sufficiently inexpensive
that compression is typically limited to external storage and,
especially, communication. Disk is cheap, bandwidth not so much.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden