change encoding of connection with db to utf-8