• 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: ASCII vs. MacRoman
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASCII vs. MacRoman


  • Subject: Re: ASCII vs. MacRoman
  • From: Doug McNutt <email@hidden>
  • Date: Mon, 19 Jan 2004 17:00:47 -0700

At 14:21 -0800 1/19/04, Chris Page wrote:
>I've always wondered where this is defined. Every piece of documentation I've seen on ASCII fails to fully describe the control characters and their meanings (though it's easy to guess what FS and RS are for).

http://www.faqs.org/rfcs/rfc20.html

I think that's all one gets.

> FF Form Feed (FE) FS File Separator IS)
> SO Shift Out RS Record Separator (IS)
>
>
> FS (File Separator), GS (Group Separator), RS (Record Separator),
> and US (Unit Separator): These information separators may be used
> within data in optional fashion, except that their hierarchical
> relationship shall be: FS is the most inclusive, then GS, then RS,
> and US is least inclusive. (The content and length of a File, Group,
> Record, or Unit are not specified.)
>

A lot of it makes sense only when punched holes in paper tape is the norm.

http://www.unicode.org/book/u2.html

is a good read but it is time consuming. Figuring out just which parts of their stuff is supported by AppleSciipt and OS neXt takes most of the effort. Ask, for instance, whether "do shell script" passes Unicode line ends, 2028(16), or UNIX line ends, UTF-8 encoded 0A, to the shell. You'll be up all night.

man iconv

And try a couple of files. Nothing is well documented. BBEdit does one thing and iconv does another. AppleScript won't tell.

--
--> There are 10 kinds of people: those who understand binary, and those who don't <--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: ASCII vs. MacRoman
      • From: Chris Page <email@hidden>
    • Re: ASCII vs. MacRoman
      • From: Christopher Nebel <email@hidden>
References: 
 >Standard Additions 'read' command - basic questions (From: Chap Harrison <email@hidden>)
 >Re: Standard Additions 'read' command - basic questions (From: Emmanuel <email@hidden>)
 >Re: Standard Additions 'read' command - basic questions (From: Emmanuel <email@hidden>)
 >Re: Standard Additions 'read' command - basic questions (From: Christopher Nebel <email@hidden>)
 >ASCII vs. MacRoman (was Re: Standard Additions 'read' command - basic questions) (From: Chris Page <email@hidden>)

  • Prev by Date: Re: ASCII vs. MacRoman (was Re: Standard Additions 'read' command - basic questions)
  • Next by Date: Re: Mute not scriptable?
  • Previous by thread: Re: ASCII vs. MacRoman (was Re: Standard Additions 'read' command - basic questions)
  • Next by thread: Re: ASCII vs. MacRoman
  • Index(es):
    • Date
    • Thread