Sergio Tapia
Sergio Tapia

Reputation: 9823

(Postgrex.Error) ERROR 22021 (character_not_in_repertoire): invalid byte sequence for encoding "UTF8": 0x92

I'm saving HTML from various websites on the internet and saving it to a simple Postgres text field.

This is the error I'm getting:

** (Postgrex.Error) ERROR 22021 (character_not_in_repertoire): invalid byte sequence for encoding "UTF8": 0x92

What would be a quick workaround for this? I don't really care about losing some data but would prefer not to.

Upvotes: 2

Views: 1163

Answers (0)

Related Questions