=?ISO-8859-1?Q?=22Lic=2E_Guillermo_Gonz=E1lez=22?= <g.gonzalez@xxxxxxxxxx> writes: > The problem is: > - with a text 'magriñá' > - the upper('magriñá') returns MAGRIñà > - NOTE that the characters 'ñ' and 'á' didn't change the case. This is determined by your locale (specifically LC_CTYPE) not by what the database thinks the encoding is. You'll probably want to re-initdb in the desired locale. regards, tom lane