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

From David Wheeler
Subject Re: UTF-8 and LIKE vs =
Date
Msg-id 3519DEA0-F5F1-11D8-9420-000A95972D84@kineticode.com
Whole thread Raw
In response to Re: UTF-8 and LIKE vs =  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-general
On Aug 23, 2004, at 11:13 PM, Tatsuo Ishii wrote:

> I'm not sure what the point of the original question was, but I know
> that
>
>     SELECT * FROM keyword where name = 'テスト';
>
> should work if locale = C and encoding is either EUC_JP or UTF-8 on my
> standard Linux box (of course I did initdb --no-locale).

Yes, that's what I would want, and after rebuilding with --locale=C,
it's what works. Is --no-locale the same as --locale=C, BTW?

Regards,

David

Attachment

pgsql-general by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: SELECT to an external file
Next
From: David Wheeler
Date:
Subject: Re: UTF-8 and LIKE vs =