Received: from sraigw.sra.co.jp (sraigw.sra.co.jp [202.32.10.2]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4N10jA55505 for ; Tue, 22 May 2001 21:00:45 -0400 (EDT) (envelope-from t-ishii@sra.co.jp) Received: from sranhm.sra.co.jp (sranhm [133.137.13.152]) by sraigw.sra.co.jp (8.8.7/3.7W-sraigw) with ESMTP id KAA26289; Wed, 23 May 2001 10:00:35 +0900 (JST) Received: from localhost (IDENT:t-ishii@srapc1474 [133.137.13.54]) by sranhm.sra.co.jp (8.9.3+3.2W/3.7W-srambox) with ESMTP id KAA19263; Wed, 23 May 2001 10:00:35 +0900 To: aidanet@yandex.ru Cc: pgsql-interfaces@postgresql.org Subject: Re: Pgaccess - localization problem In-Reply-To: <3B05B138.000001.06602@camay.yandex.ru> References: <3B05B138.000001.06602@camay.yandex.ru> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.1 =?iso-2022-jp?B?KBskQjAqGyhCKQ==?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010523095939K.t-ishii@sra.co.jp> Date: Wed, 23 May 2001 09:59:39 +0900 From: Tatsuo Ishii X-Dispatcher: imput version 20000228(IM140) Lines: 34 X-Archive-Number: 200105/98 X-Sequence-Number: 1628 > 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