Skip site navigation (1) Skip section navigation (2)

Re: Pgaccess - localization problem

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: aidanet(at)yandex(dot)ru
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Pgaccess - localization problem
Date: 2001-05-23 00:59:39
Message-ID: 20010523095939K.t-ishii@sra.co.jp (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-interfaces by date

Next:From: Hans-Jürgen SchönigDate: 2001-05-23 14:19:03
Subject: ECPG error: break statement not within loop or switch
Previous:From: ErnyDate: 2001-05-23 00:21:40
Subject: libpq and _pgmodule under WinNT without cygwin

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group