Re: Pgaccess - localization problem
От | Tatsuo Ishii |
---|---|
Тема | Re: Pgaccess - localization problem |
Дата | |
Msg-id | 20010523095939K.t-ishii@sra.co.jp обсуждение исходный текст |
Ответ на | Pgaccess - localization problem ("Ловпаче Айдамир" <aidanet@yandex.ru>) |
Список | pgsql-interfaces |
> Please help me with pgaccess localization! I use the PosgtgeSQL > as a base RDBMS for my students in a course of database development. I have set the > russian.koi8-r localization and the koi-8 fonts, in the setup form, but have > got nothing effect? > Thats the first problem, but the main problem is an impossibility > of input russian symbols, and see the output (output's like a missing font > charset) in all pgaccess forms. > > I use: > > tcl/tk 8.3 > Slakware Linux 7.1 2.2.18 > PostgresSQL 7.0.3 (pgaccess 98.5?) > Xserver 3.3.6 > the system and Xwindow propely localized. Nothing problems with russian input > and output in all Xapplications, except tcl-based (no input). > XF86config attached if needed. > > I am not familiar with tcl programming, but through a couple of expirements > with modifying the intlmsg procedure, it becomes clear, that: > > $Messages($msg) does't return anything independently of presenting > such element. However array get - does it properly. [snip] > It seems to me - that tcl does not recognize 8-bit character? Tcl 8.3 uses Unicode internally and that might be the source of your problem. Not sure, but it looks like Tcl fails to convert KOI-8 to Unicode. Try downgrading to Tcl 8.0. BTW, pgaccess + tcl8.3 can only live with Unicode database: i.e. databses created with -E UNICODE. -- Tatsuo Ishii
В списке pgsql-interfaces по дате отправления: