dbTalk Databases Forums  

[ADMIN] invalid byte sequence for encoding "UTF8": 0xf481 - how could thishappen?

mailing.database.pgsql-admin mailing.database.pgsql-admin


Discuss [ADMIN] invalid byte sequence for encoding "UTF8": 0xf481 - how could thishappen? in the mailing.database.pgsql-admin forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rural Hunter
 
Posts: n/a

Default [ADMIN] invalid byte sequence for encoding "UTF8": 0xf481 - how could thishappen? - 04-13-2012 , 09:04 PM






My db is in utf-8, I have a row in my table say tmp_article and I wanted
to generate ts_vector from the article content:
select to_tsvector(content) from tmp_article;
But I got this error:
ERROR: invalid byte sequence for encoding "UTF8": 0xf481

I am wondering how this could happen. I think if there was invalid UTF8
bytes in the content, it shouldn't have been able to inserted into the
tmp_article table as I sometimes see similar errors when inserting
records to tmp_article. Am I right?

--
Sent via pgsql-admin mailing list (pgsql-admin (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.