[BangPypers] UTF-8 character
Senthil Kumaran
orsenthil at gmail.com
Sun Jan 31 03:32:31 CET 2010
On Fri, Jan 29, 2010 at 11:36:58PM +0530, Eknath Venkataramani wrote:
> > I am using UTF-8. But how do I indicate that to the interpretter
> >
> Got it working.
> Did this:
> #!/usr/bin/python
> # -*- coding: UTF-8 -*-
Yup. That is perfect. That emacs-style line declares to the
interpreter that the following python script uses UTF-8 encoding. You
might choose to use other encodings similarly too.
--
Senthil
More information about the BangPypers
mailing list