Re: UTF-8 and LIKE vs =

From: David Wheeler <david(at)kineticode(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ian Barwick <barwick(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: UTF-8 and LIKE vs =
Date: 2004-08-23 23:49:15
Message-ID: 0AEF4B44-F55F-11D8-990D-000A95972D84@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Wheeler 2004-08-23 23:50:04 Re: UTF-8 and LIKE vs =
Previous Message Tom Lane 2004-08-23 23:35:29 Re: UTF-8 and LIKE vs =