The place for codemasters or beginners to talk about programming any language for the Spectrum.
Seven.FFF
Manic Miner
Posts: 744 Joined: Sat Nov 25, 2017 10:50 pm
Location: USA
Quote
0
login to like this post
Post
by Seven.FFF » Fri Dec 08, 2017 3:48 pm
Is there a standard Pentagon 128 way of mapping Spectrum ASCII codes to russian glyphs? My google-foo is failing me, sorry.
Context: translating an English spectrum game into Russian:
Instead of my english FZX font, make a russian font which has russian alphabet and symbols in standardized places for chars 32-127;
Make a list of english strings in a text file, in code page 1252;
Ask a russian speaker to translate the strings;
Receive back a list of russian strings in a text file, in code page NNNN (which page?);
Paste the russian strings into my assembly source;
import the russian FZX font instead of the english font;
Assemble;
Text is magically in russian!!
Hikaru
Microbot
Posts: 100 Joined: Mon Nov 13, 2017 1:42 pm
Location: Russia
Contact:
Quote
0
login to like this post
Post
by Hikaru » Fri Dec 08, 2017 5:44 pm
Non-Unicode page is most likely to be Windows-1251 nowadays. Native legacy ZX Spectrum software such as word editors and e-zines also used CP866 (aka the MS-DOS encoding) or KOI8-R (e-mail standard encoding). Still some software used custom encodings, only adding the letters that weren't present in the Latin part of fonts. There wasn't much in the way of a single standard that everyone followed.
Inactive account
Seven.FFF
Manic Miner
Posts: 744 Joined: Sat Nov 25, 2017 10:50 pm
Location: USA
Quote
0
login to like this post
Post
by Seven.FFF » Fri Dec 08, 2017 5:47 pm
Thanks Hikaru!