Re: UTF-8 and LIKE vs = - Mailing list pgsql-general

From David Wheeler
Subject Re: UTF-8 and LIKE vs =
Date
Msg-id 0AEF4B44-F55F-11D8-990D-000A95972D84@kineticode.com
Whole thread Raw
In response to Re: UTF-8 and LIKE vs =  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: UTF-8 and LIKE vs =  (David Wheeler <david@kineticode.com>)
List pgsql-general
On Aug 23, 2004, at 4:35 PM, Tom Lane wrote:

> Hmm.  I tried putting your string into a UNICODE database and I got
> ERROR:  invalid byte sequence for encoding "UNICODE": 0xc7

Really? Curious.

> So there's something funny happening here.  What is your
> client_encoding
> setting?

It's not set. I've had it commented out for quite some time:

#    $ENV{PGCLIENTENCODING} = 'UNICODE'; # Should default to this,
anyway.
#    $ENV{PGSERVERENCODING} = 'UNICODE'; # Should default to this,
anyway.

Regards,

David

Attachment

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: UTF-8 and LIKE vs =
Next
From: David Wheeler
Date:
Subject: Re: UTF-8 and LIKE vs =