Вход

Просмотр полной версии : Cyrilic coding



hood
13.02.2017, 12:02
Hi all,

on ZX Spectrum, what is the most used Cyrilic 8 bit coding (charset) of texts from ex-CCCP region? I mean W-1251, CP-866, etc.??

Maybe, I would like to add some support of cyrilic texts to my programme.



Thanks


Hood

Shiny
13.02.2017, 12:10
mostly "qwerty/яверты" encoding. It used in russian version "The Last Word". ZX-Word support cp866

hood
13.02.2017, 12:33
Ok, thanks. I would need 4 bit font, coded like one 4 bit character in 8 bytes (so basically two 4 bit characters in 8x8 matrix). Is it possible to download it somewhere? It must exist, so that I do not have to draw it. Many thanks. Hood.

Black Cat / Era CG
13.02.2017, 12:54
mostly "qwerty/яверты" encoding
For example:

http://savepic.ru/12865241.gif

Shiny
13.02.2017, 13:14
here is cp866 files - 8x8 and 6x8.

Spectramine
13.02.2017, 21:13
Ok, thanks. I would need 4 bit font, coded like one 4 bit character in 8 bytes (so basically two 4 bit characters in 8x8 matrix). Is it possible to download it somewhere? It must exist, so that I do not have to draw it. Many thanks. Hood.

This text editor uses 4bit font: http://vtrdos.ru/system/TLW&D_J_.ZIP , but, as I understood, this font is result of dynamic cutting of some columns from 8bit font by printing procedure (each symbol has its own columns for cutting).

Этот текстовый редактор использует 4хбитовый фонт: http://vtrdos.ru/system/TLW&D_J_.ZIP, но, как я понял, этот фонт получен динамическим вырезанием некоторых столбцов из 8битного фонта процедурой печати (у каждого символа свои вырезаемые столбцы).

- - - Добавлено - - -




I found 4bit font in Tasword: 59746

hood
20.03.2017, 13:06
For example:

http://savepic.ru/12865241.gif

Hello once more, I decided to create font with cyrilic and implement it in our prgramme (MB-Commander 2.7) so that we can also read texts in cyrilic.

I understand that CP866 has 32-127 codes same as ASCII standart (means western letters) and 128-255 has cyrilic letters.


But I do not understand "qwerty/яверты" encoding. Does it mean, it is some special coding, which has codes 32-127 also in cyrilic? If yes, than you cannot read western texts in "qwerty/яверты" encoding I guess. And if yes, which codes are reserved for 128-255?


Many thanks for answers


Hood

Black Cat / Era CG
20.03.2017, 15:24
But I do not understand "qwerty/яверты" encoding. Does it mean, it is some special coding, which has codes 32-127 also in cyrilic? If yes, than you cannot read western texts in "qwerty/яверты" encoding I guess. And if yes, which codes are reserved for 128-255?
This encoding was used for games in the main. Only Cyrillic font or two fonts were used. Characters 128-255 were not used. This way was used for BASIC-games or for translation. In other cases, the cp866 encoding was used.

hood
20.03.2017, 15:43
This encoding was used for games in the main. Only Cyrillic font or two fonts were used. Characters 128-255 were not used. This way was used for BASIC-games or for translation. In other cases, the cp866 encoding was used.

Ok, so you think I can leave out "qwerty/яверты" encoding and make only CP866? Will this be enough for most texts in cyrilic?

Shadow Maker
20.03.2017, 15:58
Ok, so you think I can leave out "qwerty/яверты" encoding and make only CP866? Will this be enough for most texts in cyrilic?
Depends what texts you plan to read and where they were originated from. Basically CP866 is enough, as most cyrillic textes were made in something like ZX Word/Modern Word/ZX Asm/etc.

hood
21.03.2017, 09:42
Hello all, I created several fonts. Maybe the one most interesting for you is "3_CP866". You find it enclosed in TRD image. I designed these fonts for use of MB Commander (for MB-02+) and the fonts contains chars 32- 255. Each 8x8 grid contains just one character that is doubled inside the grid. The font is primarily used for fast printing routine. Font name "0_", "1_", "3_" says about font design.

By the way, there is UFEDITOR on TRD image by Czech coder CYGNUS. It has superb functions. Like fast drawing of 4x8 fonts. Try it out:)))


Enjoy, and many thanks for your advices.


Hood