FROM : glenn andreas
DATE : Tue Jan 22 23:46:54 2008
On Jan 22, 2008, at 2:44 PM, Duncan Champney wrote:
> However, when I paste the URL into TextEdit or Mail, it gets
> truncated at slightly less than 1000 characters. (The exact count
> seems to vary by a few bytes, but seems to be around 988 to 992
> characters for the actual URL text.)
According to RFC 2822 (Internet Message Format):
There are two limits that this standard places on the number of
characters in a line. Each line of characters MUST be no more than 998
characters, and SHOULD be no more than 78 characters, excluding the
CRLF.
So since a URL needs to be a single line, it will need to observe
these limits... There are a few other limitations on the parts of a
URLas well - for example, when embedded in a HTML <A> anchor: 1024
characters in a single attribute value literal, 2100 total sum of all
lengths of all attribute value specifications and a similar limit of
2100 for the overall length of the tag.
Glenn Andreas <email_removed>
<http://www.gandreas.com/> wicked fun!
quadrium | prime : build, mutate, evolve, animate : the next
generation of fractal art
DATE : Tue Jan 22 23:46:54 2008
On Jan 22, 2008, at 2:44 PM, Duncan Champney wrote:
> However, when I paste the URL into TextEdit or Mail, it gets
> truncated at slightly less than 1000 characters. (The exact count
> seems to vary by a few bytes, but seems to be around 988 to 992
> characters for the actual URL text.)
According to RFC 2822 (Internet Message Format):
There are two limits that this standard places on the number of
characters in a line. Each line of characters MUST be no more than 998
characters, and SHOULD be no more than 78 characters, excluding the
CRLF.
So since a URL needs to be a single line, it will need to observe
these limits... There are a few other limitations on the parts of a
URLas well - for example, when embedded in a HTML <A> anchor: 1024
characters in a single attribute value literal, 2100 total sum of all
lengths of all attribute value specifications and a similar limit of
2100 for the overall length of the tag.
Glenn Andreas <email_removed>
<http://www.gandreas.com/> wicked fun!
quadrium | prime : build, mutate, evolve, animate : the next
generation of fractal art
| Related mails | Author | Date |
|---|---|---|
| Duncan Champney | Jan 18, 16:27 | |
| Steve Bird | Jan 18, 16:51 | |
| Alastair Houghton | Jan 18, 17:05 | |
| Alastair Houghton | Jan 18, 18:21 | |
| Alastair Houghton | Jan 19, 00:30 | |
| Duncan Champney | Jan 19, 13:59 | |
| Jonathon Mah | Jan 20, 10:49 | |
| Duncan Champney | Jan 20, 15:29 | |
| Duncan Champney | Jan 22, 21:44 | |
| glenn andreas | Jan 22, 23:46 | |
| William Bates | Jan 23, 13:22 |






Cocoa mail archive

