Re: UTF8 server-side on Win32? - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: UTF8 server-side on Win32?
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FA64@algol.sollentuna.se
Whole thread Raw
In response to Re: UTF8 server-side on Win32?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: UTF8 server-side on Win32?
List pgsql-hackers
> > 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.ph
> > p
>
> 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 ...

Yup, it was fixed in 8.1.
The installer for 8.1 will let you pick UNICODE encoding during setup.

//Magnus


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: UPDATE crash in HEAD and 8.1
Next
From: Alvaro Herrera
Date:
Subject: Re: UTF8 server-side on Win32?