![]() |
Russian in Netscape |
General
Go to "Preferences" and to "Fonts". Select "KOI8-R" encoding and choose proportional and fixed fonts of your desire. Usually, I prefer Helvetica for the proportional font and Courier for the fixed one. You can now go to any Russian city now (try, for instance, www.cityline.ru) and check whether you see normal Russian text. You might need to choose "KOI8-R" encoding in "Document Encoding" in Netscape.
Russian in the menus
Dealing with ACCEPT_CHARSET
user_pref("intl.accept_charsets","koi8-r;q=1.0,iso-8859-5;q=0.9,iso-8859-1;q=0.1");You can also either add
user_pref("intl.accept_languages", "Russian [ru],en");or set the latter one in the menu (this is ACCEPT_LANGUAGE). If you want to know more about this business, read the HTTP section of these notes.
Printing in Russian
#!/bin/sh sed "s/Times-Roman/TimesNRCyrMT/g;s/Times-Bold/TimesNRCyrMT-Bold/g;\ s/Times-Italic/TimesNRCyrMT-Italic/g;s/Courier/CourierCyrPS/g;\ s/Helvetica/ArialCyrMT/g;" $* | \ gs -q -sDEVICE=ljet4 -r600x600 -sPAPERSIZE=letter -dNOPAUSE -dSAFER\ -dNOPLATFONTS -sOutputFile=tmp.hp - lpr -s tmp.hp rm -f tmp.hpThe script substitutes the standard PostScript fonts with those you installed, and it runs ghostscript generating the output for "Laster Jet 4" laser printer. You can even put this script in the Netscape printer dialog and just do "File"->"Print" on a page you'd like.