| 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 | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hans-Jürgen Schönig | 2001-05-23 14:19:03 | ECPG error: break statement not within loop or switch | 
| Previous Message | Erny | 2001-05-23 00:21:40 | libpq and _pgmodule under WinNT without cygwin |