Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal
В списке pgsql-patches по дате отправления:
| От | Vsevolod Lobko |
|---|---|
| Тема | Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal |
| Дата | |
| Msg-id | 20010906133042.S76896-100000@localhost обсуждение исходный текст |
| Ответ на | Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-patches |
Now i'm looking on using pg_do_encoding_conversion from /src/backend/utils/mb/mbutils.c instead of tcl conversion functions. So we can do a), without breaking b) :)) On Thu, 6 Sep 2001, Peter Eisentraut wrote: > 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера