[Tutor] Standardizing on Unicode and utf8

Thorsten Kampe thorsten at thorstenkampe.de
Wed Feb 25 18:46:13 CET 2009


* spir (Fri, 20 Feb 2009 13:02:59 +0100)
> Le Fri, 20 Feb 2009 02:52:27 -0800,
> "Dinesh B Vadhia" <dineshbvadhia at hotmail.com> s'exprima ainsi:
> 
> > We want to standardize on unicode and utf8 and would like to clarify and
> > verify their use to minimize encode()/decode()'ing:
> > 
> > 1.  Python source files 
> > Use the header: # -*- coding: utf8 -*-
> 
> You don't even need fancy decoration:
> 
> # coding: utf-8
> 
> is enough.

Sure? Never heard of that. Interesting...

Thorsten



More information about the Tutor mailing list