ietf-xml-mime
[Top] [All Lists]

Re: Requesting a revision of RFC3023

2003-09-21 08:42:28

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/