TheCubicWebBook #541389 installation from debian package [rejected]

I got this:

Creating the system database
-> connecting to postgres database template1@localhost as aurelien
Traceback (most recent call last):
 File "/usr/bin/cubicweb-ctl", line 4, in <module>
 File "/usr/lib/python2.5/site-packages/cubicweb/", line 862, in run
   main_run(args, __doc__)
 File "/usr/lib/python2.5/site-packages/cubicweb/", line 250, in main_run
   base_main_run(args, doc)
 File "/usr/lib/pymodules/python2.5/logilab/common/", line 136, in main_run
   cmd_run(arg, *args)
 File "/usr/lib/pymodules/python2.5/logilab/common/", line 119, in cmd_run
 File "/usr/lib/python2.5/site-packages/cubicweb/server/", line 305, in run
 File "/usr/lib/pymodules/python2.5/logilab/common/", line 368, in create_database
   cursor.execute(sql % locals())
psycopg2.DataError: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT:  Use the same encoding as in the template database, or use template0 as template.

It would be nice if the right steps were documented wrt postgresql setup.

done in<not specified>
load left0.000
closed by<not specified>