From: Rural Hunter <ruralhunter@gmail.com>
To: pgsql-admin@postgresql.org
Subject: invalid byte sequence for encoding "UTF8": 0xf480
Date: Wed, 04 Jan 2012 22:33:00 +0800
Message-ID: <4F04631C.7040007@gmail.com> (raw)
My db is in UTF-8 encoding. When I tried to generate gist index for some
rows I got the strange error:
select to_tsvector('chinesecfg',content) from article where
article_id=23834922;
ERROR: invalid byte sequence for encoding "UTF8": 0xf480
However, "select content from article where article_id=23834922" works
just fine and shows good content. Why the to_tsvector reported invalid
byte sequence since the 'content' already exists in db as UTF-8?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ruralhunter@gmail.com
Subject: Re: invalid byte sequence for encoding "UTF8": 0xf480
In-Reply-To: <4F04631C.7040007@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox