Re: String encoding during connection "handshake"
От | Trevor Talbot |
---|---|
Тема | Re: String encoding during connection "handshake" |
Дата | |
Msg-id | 90bce5730711281049j7579df55s19cba8b79481afb8@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: String encoding during connection "handshake" (sulfinu@gmail.com) |
Список | pgsql-hackers |
On 11/28/07, sulfinu@gmail.com <sulfinu@gmail.com> wrote: > On Wednesday 28 November 2007, Trevor Talbot wrote: > > I'm not entirely sure how that's supposed to solve the client > > authentication issue though. Demanding that clients present auth data > > in UTF-8 is no different than demanding they present it in the > > encoding it was entered in originally... > Oh no, it's a big difference: PREDICTABILITY! > Why must I guess the encoding used by the administrator? What if he's Chinese? > Instead, I know the cluster's encoding, just as I know the server name and > the TCP port. And the connection handshake carries on without > misunderstandings (read wrong encoding). What if the user and client program is Chinese too? Not everything is developed in an environment where UTF-8 support is easily available. Either way, it is a demand on the client, and not necessarily a simple one.
В списке pgsql-hackers по дате отправления: