I tried to create databases with different encoding in postgres (I'm using PgAdmin as my database manager), but when I try to create a database with non UTF8 encoding, PgAdmin shows me an error saying that I can't create the database because it does not match my current locale "Portuguese_Brazil_1252" and that the LC_Ctype configuration requires encoding "WIN1252".
How do I configure that in PostGres? I'm running it under a locale test server with windows XP (not my choice). Is it possible to create databases with different encoding or that behavior is a PostGres limitation? Anyone here already had success managing that?
Thanks
CREATE DATABASE test ENCODING 'latin1';
ERROR: encoding LATIN1 does not match server's locale Portuguese_Brazil_1252 DETAIL: The server's LC_CTYPE setting requires encoding WIN1252.