Обсуждение: Re: rc4 and rc3, some deleted, but still needed text in the documentation, please put it back again

Поиск
Список
Период
Сортировка

Re: rc4 and rc3, some deleted, but still needed text in the documentation, please put it back again

От
"Magnus Hagander"
Дата:
> If PostgreSQL is intalled with native language support with=20
> the windows installer and if German is used as locale, local=20
> characters like Umlaute are displayed wrong in the windows=20
> command window. In PG-Admin's Helpfile, which is from beta5,=20
> but no longer in the documentation of version rc3 and rc4,=20
> the following advice can be found:

This information is still in the documentation, it has moved to a
different location. It's in the docmentation for the psql tool now.
(It's under Client Application)

> Perhaps on Windows, PostgreSQL should itself send "cmd.exe /c=20
> chcp 1252"=20
> to the console if needed.

1252 is not valid for all installations. Only for Latin-1 installations.

That said, it should be possible to determine this from the system
locale on installation time and put that in the shortcut. Please
register a feature request on the pgFoundry page for this so it's not
forgotten. It won't be there in time for 8.0, but it shouldn't be too
much work to add it in a followon release.

//Magnus

Re: rc4 and rc3, some deleted, but still needed text in the

От
Christoph Becker
Дата:
Magnus Hagander wrote:
>This information is still in the documentation, it has moved to a
>different location. It's in the docmentation for the psql tool now.
>(It's under Client Application)

Yes it is, but the message in the source code has not been changed,
which is very misleading,
as  you can see here:
g:\home\cb>psql -U postgres template1
Password:
Welcome to psql 8.0.0rc5, the PostgreSQL interactive terminal.
......
Warning: Console codepage (850) differs from windows codepage (1252)
         8-bit characters will not work correctly. See PostgreSQL
         documentation "Installation on Windows" for details.

Regards
Christoph Becker


Magnus Hagander schrieb:

>>If PostgreSQL is intalled with native language support with
>>the windows installer and if German is used as locale, local
>>characters like Umlaute are displayed wrong in the windows
>>command window. In PG-Admin's Helpfile, which is from beta5,
>>but no longer in the documentation of version rc3 and rc4,
>>the following advice can be found:
>>
>>
>
>This information is still in the documentation, it has moved to a
>different location. It's in the docmentation for the psql tool now.
>(It's under Client Application)
>
>
>
>>Perhaps on Windows, PostgreSQL should itself send "cmd.exe /c
>>chcp 1252"
>>to the console if needed.
>>
>>
>
>1252 is not valid for all installations. Only for Latin-1 installations.
>
>That said, it should be possible to determine this from the system
>locale on installation time and put that in the shortcut. Please
>register a feature request on the pgFoundry page for this so it's not
>forgotten. It won't be there in time for 8.0, but it shouldn't be too
>much work to add it in a followon release.
>
>//Magnus
>
>
>
>