[Tutor] UnicodeEncodeError

Kent Johnson kent37 at tds.net
Sat Oct 4 13:45:02 CEST 2008

On Fri, Oct 3, 2008 at 4:04 PM, Kent Johnson <kent37 at tds.net> wrote:

> I would try explicitly converting the data to latin-1 before you send
> it to the database, giving it one of the forgiving error handling
> methods I referred to earlier. Or, change your database to UTF-8...

BTW to create a UTF-8 database in Postgres, use
  createdb -E utf-8 ...


More information about the Tutor mailing list