Re: to_tsvector: errori nella configurazione italiana
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
Home |
Main Index |
Thread Index