Re: Requesting a revision of RFC3023
"Aaron Swartz" <[email protected]> 21 Sep 2003 10:42:22 -0500
| Newsgroups | gmane.org.w3c.tag,gmane.ietf.xml-mime |
|---|---|
| Message-ID | <[email protected]> |
>> 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:
#!/usr/bin/python
# -*- coding: <encoding name> -*-
http://www.python.org/peps/pep-0263.html
--
Aaron Swartz: http://www.aaronsw.com/