Thread: initdb --encoding=LATIN1 fails on Windows

initdb --encoding=LATIN1 fails on Windows

From
"Abraham, Danny"
Date:
The same command worked fine on PG 8.2.4.

Now, using 8.3.7,  we are forced into WIN1252.

Thanks

Danny

Re: initdb --encoding=LATIN1 fails on Windows

From
Jan-Peter Seifert
Date:
Abraham, Danny wrote:

> The same command worked fine on PG 8.2.4.
> Now, using 8.3.7,  we are forced into WIN1252.

In 8.2 on Windows code page 28591 has been used. If you use this as
locale initdb should give you LATIN1.

Something like this should work for you as well:
initdb --locale=German_Germany.28591 -W -A md5 -D
"C:\Programme\PostgreSQL\8.3\data"

Good luck,

Peter