Jorge my test, i created one utf8 database but don´t work ideas? testutf8=# \set VERSION = 'PostgreSQL 8.1.0 on i386-pc-linux-gnu, compiled by GCC cc (GCC) 3.3.5 (Debian 1:3.3.5-13)' AUTOCOMMIT = 'on' VERBOSITY = 'default' PROMPT1 = '%/%R%# ' PROMPT2 = '%/%R%# ' PROMPT3 = '>> ' DBNAME = 'testutf8' USER = 'marcelo' HOST = '/var/run/sume' PORT = '5432' ENCODING = 'UTF8' HISTSIZE = '500' testutf8=# select upper('ñ'); ERROR: invalid UTF-8 byte sequence detected near byte 0xf1 testutf8=# ideas? best regards MDC ____________________________________________________ Esa persona especial te espera en Yahoo! Encuentros. ¡Dejate encontrar! http://ar.encuentros.yahoo.com/