 |
 |
|
Example international keymaps for Opera and Terminal. |
|
 |
|
|
|
|
|
|
|
Date Posted: |
October 23rd, 2000
|
|
|
Last Updated: |
December 21st, 2000
|
|
|
License: |
Public Domain |
|
|
Downloads: |
2,444 total; 2 recently |
|
|
Page Views: |
11,649 total |
|
|
User Rating: |
awaiting 10 votes |
 |
|
Jump to the Downloads section |
|
 |
 |
About Example international keymaps for Opera and Terminal.:
Non-western keymap example to work with western-only BeOS applications, e.g. Opera Browser.
BeOS itself is internationalization (i18n) ready because it uses Unicode/UTF-8 internally. But when we are communicating with world of other OS-es - reencoding from UTF-8 to proper codepage and back is needed.
Unfortunatelly some BeOS applications have only one built-in encoding option - from/to ISO-8859-1 (Western)for example Opera, or haven't proper encodings, e.g. Terminal (it uses unuseful Russian encoding ISO-8859-5), most of terminal application, some editors. But workaround is possible. (similar
to Win 3.1/Unix way).
International users can use specially prepared unicode fonts where upper 128 symbols from Western table are replaced by indexes from other language/codepage.
For example with these fonts is possible to see non-western pages in Opera.
Main problem in such workaround is absence of suitable keyboars/keymaps,
because BeOS input server does not allow through character codes with 8-th bit on. But for programs which are capable to do ISO-8859-1 encodings, it is possible to create
special keymaps in which uni-codes from upper part of Western character table are placed such way that after conversion into ISO-8859-1 we get characters placed in correspondence with any non-western one-byte language.
Here is example keymap for two Russian encodings: Win1251 and KOI-8R,
and keymap source. In normal state it generates "Win1251", in CapsLock - "KOI-8R" characters.
Other 4 keymaps are "single-encoding". (KOI8 or Win1251 for different keyboards)
GoBe spreadsheet shows correspondence between upper Western "unicodes" (characters with tilde, diaresis and so on) and russian characters for two different encodings.
It is possible to create similar keymaps for all "one-byte" alphabets/codepages.
P.S.What about needed fonts? Simplest way is to obtain "256-characters fonts" for your language, e.g. Windows3.1 ttf fonts, or freefonts from unix/linux world and
process these fonts with "ttfconv.exe" utility (use some ftpsearch engine to find it) to add unicode indexes.
Some 8-bit free-fonts already have these indexes.
NB! Internal names for these fonts and fonts already existing in system should be different.
P.P.S
for switching between normal keyboard and this special keyboard i use Switcher application from BeBits.
|
 |
|
 |
Latest Version |
 |
|
 |
| |
 |
|
Details about this version:
4 keymaps added:
(for US-international keyboard)
Win1251am
KOI8am
(for Britain keyboard)
Win1251bt
KOI8bt
|
| |
 |
|
Any Processor - requires R4 (32 KB) |
1,889 downloads |
|
 |
|
 |
 |
| |
  |
[rating: 10] |
|
 |
BeNews Russia |
|
|
| Add Additional Location |
 |
|
 |
|
| Source Included |
 |
 |
 |
 |
 |
Like this app? Have questions or comments?
Why not tell the author? Use the "e-mail publisher" link to get in touch with the publisher; they usually love getting feedback.
|
|
|