I get this error from drupal everytime I access a page with a blog entry:
# warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid byte sequence for encoding "UTF8": 0x97 HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding". in /local/var/www/drupal-6.10_postgresql/includes/database.pgsql.inc on line 139.
# user warning: in /local/var/www/drupal-6.10_postgresql/modules/locale/locale.module on line 365.
# warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid byte sequence for encoding "UTF8": 0x97 HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding". in /local/var/www/drupal-6.10_postgresql/includes/database.pgsql.inc on line 139.
# user warning: in /local/var/www/drupal-6.10_postgresql/modules/locale/locale.module on line 381.
I can reproduce this problem on different drupal installations and with different languages activated so I think it has to be something with the blog module and not the translations.
To reproduce:
- use postgresql 8.3.x
- activate blog module
- create a blog entry
- install and activate as default a language other than english. (I have try this with the spanish and danish translations)
- access any page that shows a blog entry
Any ideas? This is a big problem on busy sites because every page view with blog entries generates error entries by the dblog module