Re: ASCII vs. MacRoman
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.