Windows locale cause server to send invalid data encoding to client

Поиск
Список
Период
Сортировка
От Antoine
Тема Windows locale cause server to send invalid data encoding to client
Дата
Msg-id CAO16vDNM5_eUZG3unbumx2AJt11VZxuQxn9cSZ9VhSCpD1TMgw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Windows locale cause server to send invalid data encoding to client  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-bugs
I set up a postgresql server on Windows 10 and connected it using Rust, but the Rust client reports invalid UTF-8 data when the password is wrong. I use a french locale windows that contain some accents "éèê" etc.

Windows use WTF-16 but the Rust client asks UTF-8 to the serveur so we think it's a bug from the server to not send UTF-8 even if Windows doesn't use it for its locale translation.

Details can be found at this github issue #803. Here a recorded wireshark of the problem  output.pcapng.gz.

The version is: `psql (PostgreSQL) 13.3`

I never used a mailing list so I'm not used to it.

--
La Terre est le berceau de l'humanité mais qui voudrait passer sa vie dans un berceau.

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: BUG #17104: memory leak
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: Windows locale cause server to send invalid data encoding to client