Motif and KOI8 locale

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

3 posts / 0 new
Last post
Motif and KOI8 locale

Submitted by Anonymous on Wed, 12/19/2001 - 15:56. Developers
Hello All!

As I am russian UNIX user/developer I use ru_RU.KOI8-R locale. But out-of-the-box-OpenMotif has not built-in support for this locale. (only
ISO 8859-5 is supported). Locale support is critical to uil and seems to me for I18n input.
To fix this problem and to add KOi8 locale support
I wrote the patch for tools/wml/motif.wml file.

==== file patch-tools-wml-motif.wml start ====
--- tools/wml/motif.wml.orig Wed May 3 131306 2000
+++ tools/wml/motif.wml Thu Nov 29 144043 2001
@@ -106,6 +106,8 @@
Alias = "88595"; };
iso_cyrillic
{ XmStringCharsetName = "ISO8859-5"; };
+ koi8r_cyrillic
+ { XmStringCharsetName = "KOI8-R"; };
iso_arabic
{ XmStringCharsetName = "ISO8859-6";
Alias = "iso_latin6";

==== file patch-tools-wml-motif.wml end ====

Because, I suppose KOI8 support is not only my
demand, how can I commit the patch or patched motif.wml (what is better )) to OpenMotif source tree?

And one more question. Is the patching of motif.wml is enough for minimal OpenMotif localization?

And if no, what shall I do for correct localization?

Regards!
Gleb N. Semenov.
E-mail semenov@jet.msk.su

Anonymous

Thank you for that patch.

Good work!

Are you working excluseively in KO18, or is there also support needed for things like CR1250?

-scorch

Anonymous

Due to historical reasons in Russian(ex-USSR) UNIX/VMS world there two cyrillic charsets/locales are in use - ISO8859-5 and KOI8-R or KOI8-U (as a variant for ukrainian users).

KOI8-R is common choice(see RFC1489, RFC1700).
ISO8859-5 is in use only on VMS/OpenVMS and some rare commercial UNIX platforms.

For all other charsets (win1251, cp866, Mac) we
use encoders or some other built-in
application-level support.

IMHO, for Motif the support for the following locales
ISO8859-5
KOI8-R
KOI8-U
is good enough.

"Is anybody in there" to continue the list?