Skip to content

=$
|

  • Why upgrade PG?
  • explain.D.C
  • paste.D.C
  • Waiting for …
    • … PostgreSQL 16
    • … PostgreSQL 15
    • … PostgreSQL 14
    • … PostgreSQL 13
    • … PostgreSQL 12
    • … PostgreSQL 11
    • … PostgreSQL 10
    • … PostgreSQL 9.6
    • … PostgreSQL 9.5
    • … PostgreSQL 9.4
    • … PostgreSQL 9.3
    • … PostgreSQL 9.2
    • … PostgreSQL 9.1
    • … PostgreSQL 9.0
    • … PostgreSQL 8.5
    • … PostgreSQL 8.4
  • Projects
  • Contact

Tag: encoding

ERROR: invalid byte sequence for encoding

One common problem that a lot of people seem to have is when they encounter error message like this:

# \i test.sql 
psql:test.sql:1: ERROR:  invalid byte sequence for encoding "UTF8": 0xb3

Why it happens? What can be done about it? Let's see.

Continue reading ERROR: invalid byte sequence for encoding

Posted on 2010-03-072010-03-07|Tags charset, encoding, error, latin, postgresql, utf|22 Comments on ERROR: invalid byte sequence for encoding

Search

Follow me

  • Comments RSS
  • Posts RSS

Popular Posts

  • System roles – what, why, how? 858 views | 2 comments
  • Explaining the unexplainable – part 3 212 views | 0 comments
  • CHAR(x) vs. VARCHAR(x) vs. VARCHAR vs. TEXT – UPDATED 2010-03-03 200 views | 0 comments
  • Explaining the unexplainable – part 2 182 views | 0 comments
  • “ERROR: operator does not exist: integer = text” how to fix it? 149 views | 0 comments
  • Waiting for PostgreSQL 11 – Fast ALTER TABLE ADD COLUMN with a non-NULL default 138 views | 0 comments
  • how to insert data to database – as fast as possible 123 views | 0 comments
  • Understanding pg_stat_activity 110 views | 0 comments
  • How much RAM is PostgreSQL using? 94 views | 0 comments
  • How to run short ALTER TABLE without long locking concurrent queries 87 views | 0 comments

PostgreSQL

  • Documentation
  • Explain Analyze analyzer
  • IRC help channel
  • Mailing Lists search
  • PG Planet
  • PostgreSQL Home Page

About me

  • CPAN
  • GitLab
  • Linked In
  • Why upgrade PG?
  • explain.D.C
  • paste.D.C
  • Waiting for …
    • … PostgreSQL 16
    • … PostgreSQL 15
    • … PostgreSQL 14
    • … PostgreSQL 13
    • … PostgreSQL 12
    • … PostgreSQL 11
    • … PostgreSQL 10
    • … PostgreSQL 9.6
    • … PostgreSQL 9.5
    • … PostgreSQL 9.4
    • … PostgreSQL 9.3
    • … PostgreSQL 9.2
    • … PostgreSQL 9.1
    • … PostgreSQL 9.0
    • … PostgreSQL 8.5
    • … PostgreSQL 8.4
  • Projects
  • Contact