• 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: Writing to file as UTF8 with BOM ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Writing to file as UTF8 with BOM ? (From: Yvon Thoraval <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Yvon Thoraval <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Yvon Thoraval <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: "Mark J. Reed" <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Yvon Thoraval <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: "Mark J. Reed" <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Yvon Thoraval <email@hidden>)

  • Prev by Date: Re: Strange character changes
  • Next by Date: Excel Selection
  • Previous by thread: Re: Writing to file as UTF8 with BOM ?
  • Next by thread: Re: Writing to file as UTF8 with BOM ?
  • Index(es):
    • Date
    • Thread