> What answer do you get to the following two SQL statements: > > SHOW server_encoding; > SHOW client_encoding; > > Maybe that will help to understand. Hi, both commands shows "UTF8". Changing client encoding with "\encoding LATIN9" does not have any effect on to_ascii command (I don't know if it should have). regards Pavel