Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

Next:From: David WheelerDate: 2004-08-23 23:50:04
Subject: Re: UTF-8 and LIKE vs =
Previous:From: Tom LaneDate: 2004-08-23 23:35:29
Subject: Re: UTF-8 and LIKE vs =

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group