"E.Rodichev" <er(at)sai(dot)msu(dot)su> writes:
> /e:2>createdb test
> test | er | SQL_ASCII <----- Incorrect!
> (3 rows)
> Let's note than the last line is in fact completely incorrect.
What's incorrect about it? You didn't ask for any other encoding
than SQL_ASCII.
You can set the default encoding at initdb time, IIRC, but you didn't.
regards, tom lane