Skip to content

=$
|

  • Why upgrade PG?
  • explain.D.C
  • paste.D.C
  • Waiting for …
    • … 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: utf

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

  • Explaining the unexplainable – part 3 279 views | 0 comments
  • Starting with Pg – where is the config? 191 views | 0 comments
  • Explaining the unexplainable – part 2 183 views | 0 comments
  • Waiting for PostgreSQL 14 – SEARCH and CYCLE clauses 170 views | 0 comments
  • CHAR(x) vs. VARCHAR(x) vs. VARCHAR vs. TEXT – UPDATED 2010-03-03 164 views | 0 comments
  • explain.depesz.com – now with JITs 142 views | 0 comments
  • “ERROR: operator does not exist: integer = text” how to fix it? 120 views | 0 comments
  • Why is UPSERT so complicated? 119 views | 0 comments
  • How much RAM is PostgreSQL using? 99 views | 0 comments
  • explain.depesz.com. 98 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 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