How to change main encoding (how write in non-english everywhere) ?
Sergei (6085) 12 posts |
Hello All. I do not understand how to change globally the encoding for the entire system. What needs to be done so that I can write in Russian everywhere? Where and how to change the encoding? |
Steffen Huber (91) 1945 posts |
The *keyboard command changes the keyboard layout only. The *country command changes both keyboard and encoding (called “alphabet” in RISC OS world) at once. Not sure how far you’ll get with Russian however – RISC OS was always good for English, not-so-good for other Western languages/encodings, and really-not-good for anything else. Contributions to get RISC OS into a clean UTF-8 state much appreciated! |
Sergei (6085) 12 posts |
UTF8 is good, but usually it is a painful transition under all operating systems(1 and 2 bytes for 1 symbol) Before UTF8, everyone lived quietly with 8-bit encodings, simply changing them for each language. |
Paul Sprangers (346) 483 posts |
UTF-8 support in RISC OS is a long standing problem, that may be solved in the near, or not so near future. Read one of the many discussions on this forum here: https://www.riscosopen.org/forum/forums/3/topics/11275 |
Sergei (6085) 12 posts |
UTF8 – now for me is not the main goal. I am satisfied with the 8 bit encoding, not utf8. I looked at the source code RISС OS. Cyrillic support was made a long time ago. If a system font is used in a text editor, then everything is fine, but the font is not beautiful :) If font FreeScan is used in a text editor, then everything is beautiful, but not correct. If you look in the program “Character map”, there are Cyrillic characters in the font. But you need to enable the Cyrillic encoding. Maybe there is a way to enable encoding Cyrillic globally for the whole system? Can it even be permanent in the source code of the OS and rebuild it? |
Matthew Phillips (473) 687 posts |
How are you attempting to configure the system? Are you using *Country Russia as suggested above? |
Steffen Huber (91) 1945 posts |
Could you try one of the standard Outline fonts instead of “FreeScan”? There need to be encoding files accompanying the fonts to map the glyphs to codepoints, and the standard Outline fonts like Trinity, Homerton and Corpus should come with the standard encodings. |
Chris Mahoney (1684) 2100 posts |
The “Roboto” font seems to be the only one on my system that supports Cyrillic. I think it’s included with the basic Pi image. Edit: Actually, cancel that. The characters show up in Chars but Edit doesn’t like them. |
Sergei (6085) 12 posts |
Yes. *Country=Russia and *Keyboard=Russia too
Did not work (see screen ). The result is even stranger. Probably not in the font of the desired characters. Probably need to edit fonts. |
Sergei (6085) 12 posts |
After some attempts, I was able to make a new font FreeSansRUS (based on FreeScans font). I used FontEd. My font have only Latin and Russian letters. Everything worked well with him ( screen ) If anyone needs this font FreeSansRUS, then you can download it by the link For editing standard fonts (Trinity, Homerton and Corpus), I need a better editor. |
Sergei (6085) 12 posts |
Small text about set russian fonts in my blog (text in Russian). Link |
Clive Semmens (2335) 3129 posts |
Hi Sergei – try http://clive.semmens.org.uk/RISCOS/index.html – my font editor is the first item on that page. It complements !FontEd rather than replacing it completely – the main thing is it lets you do some of you glyph editing in !Draw, and gives some guidance on how best to use !Draw for that purpose. |
Clive Semmens (2335) 3129 posts |
Long time ago I made Russian fonts – my babooshka was Russian, and other members of my family speak (& type) Russian, but my own Russian is extremely feeble. But you’re welcome to my Russian fonts (you can move the glyphs around in !FontEd or !XP1FontEd if, as is likely, they’re not where you want them) if you’d like them. I sold a few to schools in the 1990s, but nowhere near enough to pay for my time making them. Free now to anyone who wants them. |