W3C home > Mailing lists > Public > www-tag@w3.org > September 2003

Re: Requesting a revision of RFC3023

From: Aaron Swartz <me@aaronsw.com>
Date: 21 Sep 2003 10:42:22 -0500
Message-Id: <3118DB85-EC4A-11D7-BAAC-0003936780B2@aaronsw.com>
To: "Francois Yergeau" <FYergeau@alis.com>
Cc: "WWW-Tag" <www-tag@w3.org>, ietf-xml-mime@imc.org

>> Programming languages are broken as designed?
> In this respect, yes.  All programming languages should provide for 
> charset
> identification of their source files.  Alas, none do, AFAIK.

Python does; it uses an emacs convention:

     To define a source code encoding, a magic comment must
     be placed into the source files either as first or second
     line in the file:

           # -*- coding: <encoding name> -*-


Aaron Swartz: http://www.aaronsw.com/
Received on Sunday, 21 September 2003 11:42:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:32:39 UTC