Re: Fix for 8.3 MSVC locale (Was [HACKERS] NLS on MSVCstrikes back!)

Поиск
Список
Период
Сортировка
От Gevik Babakhani
Тема Re: Fix for 8.3 MSVC locale (Was [HACKERS] NLS on MSVCstrikes back!)
Дата
Msg-id 002101c86f5d$0d848750$0a01a8c0@gevmus
обсуждение исходный текст
Ответ на Re: Fix for 8.3 MSVC locale (Was [HACKERS] NLS on MSVC strikes back!)  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-patches
> Hmm, interestingly you lost the diacritics here.  The output
> is mangled for Saturday and Wednesday, which should read
> "Sábado" and "Miércoles"
> respectively.
>
> It is not good that the system allows you to output invalidly
> encoded data.  What happens if you try setting lc_messages to
> Spanish_Spain.65001 instead?

This is because of the codepage dosbox had when I rand the test.
I ran the same test in PGAdmin and correct values are presented.

> Ideally, it should be an error to set lc_messages to a value
> that's not compatible with the current encoding.  Do we do
> that currently elsewhere?

Not that I know of.



В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fix for 8.3 MSVC locale (Was [HACKERS] NLS on MSVC strikes back!)
Следующее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: Fix for 8.3 MSVC locale (Was [HACKERS] NLS on MSVC strikes back!)