Change template so that encoding is still utf8

I'd suggest changing the database configuration so that things are still encoded in utf8.

I'm sure it's possible to fix the encoding of template1 to actually be unicode (that seems like a weird default, to me) but this was faster, with same effective result.