Re: UTF8 server-side on Win32?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Magnus Hagander <mha(at)sollentuna(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: UTF8 server-side on Win32?
Date: 2006-06-21 19:19:20
Message-ID: 20060621191920.GE6683@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander wrote:
> > > 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.

Ok, thanks.

> The installer for 8.1 will let you pick UNICODE encoding during setup.

What if he uses initdb directly?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-06-21 19:19:57 Re: UTF8 server-side on Win32?
Previous Message Tom Lane 2006-06-21 18:43:57 Re: UPDATE crash in HEAD and 8.1