On Mon, 2003-02-24 at 06:28, Nils-Erik Svangård wrote: > Hi! > > I'm helping a teacher getting his debian installation working. > There is two things I couldnt solve for him, I thought that maybe > someone knows how to fix it: > > * Switching between swedish and russian keyboard in X (the same keyboard > just changing layout) > > * When using the russian keyboard, producing russian charactars. > > Is this possible? Is it possible to have two diffrent charactersets in > one document? > > Does anyone know how to fix this? > > /nisse > -- > Nils-Erik Svangård <wizzo@ludd.luth.se> This would depend on the type of file you are referring to as a "document". Flat text files are not as fortunate at supporting multiple character sets, although they do have the ability to maintain which character set was used to prepare them - I have a file named russian.txt which I prepared in gedit with a russian character layout (achieved by selecting a preferred layout with xmodmap from /usr/share/xmodmap) and it was saved as UTF-8 Unicode text - that said, I haven't been able to then use any other characterset beyond the 7-bit ASCII collection alongside that text. I also have not been successful at getting every other program to catch what character set to use in presenting it. If you are looking at a word processor and intermingling languages and their characters, that works with OpenOffice.org and Abiword, although I haven't been able to transfer the Russian text through the X clipboard intact. Abiword's Insert file function does apparently handle the UTF-8 encoding, however (imported russian.txt without any hiccups.) Both Gnome and KDE have applets that facilitate switching keyboard layouts, and iirc, there are similar tools available with WindowMaker, XFCE and AfterStep, among others. Similarly, it is "relatively trivial" to add window manager entries for switching between keyboard layouts. -- Mark L. Kahnt, FLMI/M, ALHC, HIA, AIAA, ACS, MHP ML Kahnt New Markets Consulting Tel: (613) 531-8684 / (613) 539-0935 Email: kahnt@hosehead.dyndns.org
Attachment:
signature.asc
Description: This is a digitally signed message part