to_tsvector: errori nella configurazione italiana

From: Giorgio Valoti <giorgio_v(at)mac(dot)com>
To: pgsql-it-generale(at)postgresql(dot)org
Subject: to_tsvector: errori nella configurazione italiana
Date: 2008-06-13 06:42:10
Message-ID: D23F9C9C-CCE9-4238-845D-EE133CD0FC37@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-it-generale

Ciao a tutti, riposto qui questa mia richiesta su pgsql-general che
non ha avuto risposta. Avendo scoperto solo ora che esiste anche una
mailing list italiana ho pensato che forse c’era qualcuno che poteva
darmi qualche suggerimento. Ho una discreta esperienza con pgsql ma
non ho mai usato la ricerca full-text per cui sono un po’ perso.
Mi scuso in anticipo per non aver ritradotto il messaggio ma penso
sarà sufficientemente chiaro:

> I was looking into PostgreSQL’s full-text search but when using the
> to_tsvector function with italian settings I get this error:
>
>> test=> select to_tsvector('italian','prova');
>> ERROR: invalid byte sequence for encoding "UTF8": 0xc3
>> HINT: This error can also happen if the byte sequence does not
>> match the encoding expected by the server, which is controlled by
>> "client_encoding".
>>
>
> whereas using english works fine:
>
>
>> test=> select to_tsvector('english','prova');
>> to_tsvector
>> -------------
>> 'prova':1
>> (1 row)
>>
>
> Danish’s fine too, but not french (same error). All the .stop files
> (italian, french, and danish) are utf8-encoded but maybe it doesn’t
> matter, I just don’t know.
>
> I’m using the 8.3 version with Mac OS X 10.5.3 (pg server) and Mac
> OS X 10.4.11 (psql client).

Grazie
--
Giorgio Valoti

Responses

Browse pgsql-it-generale by date

  From Date Subject
Next Message rotellaro 2008-06-13 06:58:25 Re: to_tsvector: errori nella configurazione italiana
Previous Message gabriele.bartolini 2008-06-12 15:37:18 E' uscito PostgreSQL 8.3.3