[Tutor] Standardizing on Unicode and utf8

spir denis.spir at free.fr
Fri Feb 20 13:02:59 CET 2009


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.

Denis
------
la vita e estrany


More information about the Tutor mailing list