Обсуждение: BUG #4616: Create Database with another encoding as the encoding from postgres
BUG #4616: Create Database with another encoding as the encoding from postgres
От
"Said Noucair"
Дата:
The following bug has been logged online: Bug reference: 4616 Logged by: Said Noucair Email address: noucair@gmail.com PostgreSQL version: 8.3 Operating system: Suse 2.6 Description: Create Database with another encoding as the encoding from postgres Details: Hi, I tried to create a second database other than postgres with different encoding "WIN", but it keep gave me errors: Error: encoding WIN does not match server's locale UTF-8 > DETAIL: The server's LC_CTYPE setting requires encoding... Any hint? Regards
Re: BUG #4616: Create Database with another encoding as the encoding from postgres
От
"Milen A. Radev"
Дата:
Said Noucair напиÑа: > The following bug has been logged online: > > Bug reference: 4616 > Logged by: Said Noucair > Email address: noucair@gmail.com > PostgreSQL version: 8.3 > Operating system: Suse 2.6 > Description: Create Database with another encoding as the encoding > from postgres > Details: > > Hi, > > I tried to create a second database other than postgres with different > encoding "WIN", but it keep gave me errors: > Error: encoding WIN does not match server's locale UTF-8 >> DETAIL: The server's LC_CTYPE setting requires encoding... > > Any hint? Known restriction: "Any character set encoding specified for the new database must be compatible with the server's LC_CTYPE locale setting." (http://www.postgresql.org/docs/current/static/sql-createdatabase.html). -- Milen A. Radev