Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal
Дата
Msg-id Pine.LNX.4.30.0109061229180.823-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal  (Reinhard Max <max@suse.de>)
Ответы Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal  (Vsevolod Lobko <seva@sevasoft.kiev.ua>)
Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal  (Reinhard Max <max@suse.de>)
Список pgsql-patches
Reinhard Max writes:

> So basically there are two possibilities:
>
> a) Patch pl/tcl and PgTcl to do the code conversion, but do it right
>    by using the Database's encoding instead of Tcl's system encoding.
>
> b) Require databases to be in UNICODE if they are to be accessed
>    from Tcl >= 8.1 so that the strings that come out of the database
>    are already UTF-8.

Could you summarize how that affects the proposed patch?  (The patch is
already in, but I'm still not sure if it's not just an arbitrary
workaround.)

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


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

Предыдущее
От: Karel Zak
Дата:
Сообщение: Re: encoding names
Следующее
От: Vsevolod Lobko
Дата:
Сообщение: Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal