From: Tatsuo Ishii <t-ishii@sra.co.jp>
To: aidanet@yandex.ru
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Pgaccess - localization problem
Date: Wed, 23 May 2001 09:59:39 +0900
Message-ID: <20010523095939K.t-ishii@sra.co.jp> (raw)
In-Reply-To: <3B05B138.000001.06602@camay.yandex.ru>
References: <3B05B138.000001.06602@camay.yandex.ru>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: t-ishii@sra.co.jp, aidanet@yandex.ru
Subject: Re: Pgaccess - localization problem
In-Reply-To: <20010523095939K.t-ishii@sra.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox