Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Is there any way to select the UTF-8 as server-side encoding at initdb
> time?
> This guy reported he wasn't able to do it:
> http://archives.postgresql.org/pgsql-hackers-win32/2004-11/msg00062.php
That was 8.0. My recollection is we fixed it for 8.1. You might have
to use an explicit --encoding switch, because I don't think Windows has
any locale settings that map to utf8, but I might be wrong ...
regards, tom lane