unicode issues

Hi *, I keep having a PGERROR

PGError: ERROR: invalid byte sequence for encoding “UTF8”: 0xa9 (ActiveRecord::StatementInvalid)

My db (postgres) is UTF-8, and I set encoding:unicode in database.yml.

Someone else had this problem and solved it ??



check your data, probably your code tries to save some string that
is in non-utf8 encoding.