Re: Invalid byte sequence for encoding UTF-8 0xc3\n

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Invalid byte sequence for encoding UTF-8 0xc3\n
Date: 2017-07-30 20:34:48
Message-ID: c90f3a94-128a-a2bd-c6e7-d8f3ac98709a@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/30/2017 1:19 PM, Igor Korot wrote:
> I am using a database for my project that I created inside SQLite3.
> This database contains a table called "abc<ALT+225>" (it is "abc" +
> symbol with the code 225 -
> greek letter "beta or a German symbol for "ss").

in what encoding? in ISO 8859-1, -15, beta aka sharp S is code 223
(U+00DF), not 225. in UTF-8, its C3,9F.

> ...
> Both the database and the table are created with default encoding.

what encodings are default on your system ? `\l+` in psql should show
the encodings.

--
john r pierce, recycling bits in santa cruz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2017-07-30 20:43:42 Re: Invalid byte sequence for encoding UTF-8 0xc3\n
Previous Message Igor Korot 2017-07-30 20:19:18 Invalid byte sequence for encoding UTF-8 0xc3\n