Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Off-topic but kind of related, I guess.


Message #1 by danielw@w... on Mon, 4 Dec 2000 13:25:14 -0000
In response to your question, Sandeep, the =3D is being inserted because

Fredrick's mail is using the Latin 1 characterset of the ISO 8859 standard

developed by ECMA. iso8859 includes several 8-bit extensions to the ASCII

character set. The original mail protocol specification (SMTP) in RFC 821

specified the transfer of only 7 bit messages, so 8-bit charsets aren't

strictly safe. Although many mail implementations are now capable of

hanlding 8 bit charsets, some SMTP handling agents are still strictly

conforming to the old RFC 821 and intentionally cut off the 8th bit. Only

if all SMTP agents between mail originator and mail recipient are 8 bit

clean, will messages be transferred correctly.



The Lyris listserver follows the rules for handling this problem by

displaying a header-seperated message, in which instructions are given to

the end-recipient's mail program for reinterpreting the message with the

correct symbols. Unprintable characters in 7-bit coding are catered for

under this methodology by displaying an equals sign, followed by a

hexadecimal value equivalent to the octet for that character. Your

mail-recipient will (hopefully) see the "Quoted-Printable

Content-Transfer-Encoding" header and reinterpret the hex codes back into

the correct characters. In the web interface, however, this isn't done,

and you see the original codes.



In this case, the decimal value 61, for the ASCII character "=" is

interpreted into "3D", it's hex equivalent. So in Fredrick's code "=3D3D"

simply means "==". (in other words, ("=3D3D"=="==")).



At least, that's my understanding of what's going on. Since this topic

could easily turn into a major troll, I've set up a new list called

"mail_protocols", for discussion of this kind of thing. so if anyone wants

to correct or add to what I've written above, then please do so on that

list. Any more messages on this posted here will be transferred to that

list and the contributors will be subscribed to that list (you have been

warned :)). The troll has now left the building.



HTH

Daniel Walker

Wrox Press



From:  "Sandeep Arora" <sandeep.arora@w...>

Date:  Mon, 4 Dec 2000 12:34:07 +0530

Subject:  Re: aspx digest: December 02, 2000

Body:  This is a multi-part message in MIME format.



------=_NextPart_000_0675_01C05DEE.7ECC6D20

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



-----Original Message-----

From: Fredrik Norm=3DE9n [mailto:fredrik.normen@e...]

Sent: Friday, December 01, 2000 2:02 AM

To: ASP+

Subject: [aspx] RE: Client side processing?





If you look at the source in IE how would it look like then ?

I have no problem with the JavaScript when I run this example:



<%@ Page Language=3D3D"C#" %>

<SCRIPT LANGUAGE=3D3D"C#" RUNAT=3D3D"Server">



      void Page_Load( Object Sender,EventArgs E )

{

Controls.Add(new LiteralControl("<IMG id=3D3D\"12\"

onclick=3D3D\"NodeClick()\"

WIDTH=3D3D\"16\" SRC=3D3D\"images/bs.gif\"/>"));

}



</SCRIPT>



<html>

<body>



<script language=3D3D"JavaScript">

       function NodeClick()

       {

           var src =3D3D event.srcElement;

   alert(src.id);

       }

</script>





< /BODY>

< /html>



...kindly lemme know what does '3D' imply in the above code.

.thanx



 




  Return to Index