Re: to_tsvector: errori nella configurazione italiana

From: Giorgio Valoti <giorgio_v(at)mac(dot)com>
To: pgsql-it-generale(at)postgresql(dot)org
Subject: Re: to_tsvector: errori nella configurazione italiana
Date: 2008-06-18 12:41:01
Message-ID: 7177B476-E854-4D45-A3CE-F3509250E4A6@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-it-generale


On 17/giu/08, at 16:56, rotellaro(at)gmail(dot)com wrote:

> 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".
> […]
> Ho trovato il colpevole: è la lettera "à" ("á" invece non dà
> problemi al pari di tutte le altre). Qualcuno ci capisce qualcosa?

Ho sottomesso un bug report (#4253): tutti i .stop (italiano,
francese e portoghese) che contengono quel carattere hanno lo stesso
problema. Nel frattempo userò un file editato.
Grazie a tutti per i suggerimenti e il tempo dedicato alla questione.

Ciao
--
Giorgio Valoti

In response to

Browse pgsql-it-generale by date

  From Date Subject
Next Message rotellaro 2008-06-19 18:46:00 == Postgres Weekly News - 15 giugno 2008 ==
Previous Message Giorgio Valoti 2008-06-17 16:49:08 Re: to_tsvector: errori nella configurazione italiana