fixed #18160 Auth - Unknown Encoding Error when syncdb

I mentioned this error with sqlite3 in [the original post](https://code.djangoproject.com/ticket/18160). But the other day, I re-encounter it on another Macbook with PostgreSQL. So I think we'd better fix this issue for the non-ascii locales env.