Bulgarian dos cyrillic is different from the standart 866 codepage. https://en.wikipedia.org/wiki/MIK_(character_set)
It uses a MIK codepage which has all the cyrillic letters one after another unlike the 866 codepage which has drawing characters somewhere in the middle of the small letters.
My father writes some dos programs and I want to run them with vDos but as far as I can tell that codepage is not defined in windows.
But I was looking at the source code of vDos - the latest version which is available for download - I think a solution for me would be to implement a MIK codepage and give it some number.
Can you please tell me - would it be enough to extend the GFX_SetCodePage (sdlmain.cpp) and fill cpMap[] for it to work? That would solve all my problems at once.
Thank you!
Regards,
Stefan Genov
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Redefining the upper 128 ASCII characters in cpMap[] would do the trick. Though it would be better to use the most recent vDos source code (2017.08.01). That doesn’t rely on SDL (mangling keyboard input and Unicodes) anymore, transparent translation of Unicode to ASCII and vice versa should then also work.
And perhaps you could post your modified cpMap[] for other Bulgarian users?
Jos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using vDOSPlus 2017.08.01 (build 2018.03.01). Some small bulgarian cyrillic letters are not shown correctly (р, с, т, ...,я). !Windows 10 OEMCP=866. Changing it to 855 doesn't help. Please help to solve the issue. Just I've downloaded the 20180501 version of vDOS. Is this issue solved in the recent version of vDOS?
I don’t think it has ever been an issue.
Pasting your example text just gives the correct results. Do you have some “FONT = -...” setting in config.txt?
If your Windows code page is set to 866 or 855, you of course don’t have to use CHCP.
Hi, there is no problem when typing any Bulgarian Cyrillic character on the command line. But when I use my software written in Borland Pascal 7.0 some characters are not presented correctly. I’ve attached the autoexec.txt & config.txt files. I’m running VDosPlus on Win 10 Pro 64-bit laptop.
Hello all!
Bulgarian dos cyrillic is different from the standart 866 codepage.
https://en.wikipedia.org/wiki/MIK_(character_set)
It uses a MIK codepage which has all the cyrillic letters one after another unlike the 866 codepage which has drawing characters somewhere in the middle of the small letters.
My father writes some dos programs and I want to run them with vDos but as far as I can tell that codepage is not defined in windows.
But I was looking at the source code of vDos - the latest version which is available for download - I think a solution for me would be to implement a MIK codepage and give it some number.
Can you please tell me - would it be enough to extend the GFX_SetCodePage (sdlmain.cpp) and fill cpMap[] for it to work? That would solve all my problems at once.
Thank you!
Regards,
Stefan Genov
Redefining the upper 128 ASCII characters in cpMap[] would do the trick. Though it would be better to use the most recent vDos source code (2017.08.01). That doesn’t rely on SDL (mangling keyboard input and Unicodes) anymore, transparent translation of Unicode to ASCII and vice versa should then also work.
And perhaps you could post your modified cpMap[] for other Bulgarian users?
Jos
hi there, did you managed to get proper cyrillic symbols in vDos?
Regards,
Georgi Maslarov
The problem with Bulgarian DOS Cyrillic seems to be that there’s no matching Windows code page. I didn’t hear of Stefan Genov again.
You would need to modify the default ASCII-Unicode table in vDos sources, or get/create a correct NLS file for that missing Windows code page.
Jos
I'm using vDOSPlus 2017.08.01 (build 2018.03.01). Some small bulgarian cyrillic letters are not shown correctly (р, с, т, ...,я). !Windows 10 OEMCP=866. Changing it to 855 doesn't help. Please help to solve the issue. Just I've downloaded the 20180501 version of vDOS. Is this issue solved in the recent version of vDOS?
I don’t think it has ever been an issue.
Pasting your example text just gives the correct results. Do you have some “FONT = -...” setting in config.txt?
If your Windows code page is set to 866 or 855, you of course don’t have to use CHCP.
Jos
Last edit: Jos Schaars 2018-05-20
Hi, there is no problem when typing any Bulgarian Cyrillic character on the command line. But when I use my software written in Borland Pascal 7.0 some characters are not presented correctly. I’ve attached the autoexec.txt & config.txt files. I’m running VDosPlus on Win 10 Pro 64-bit laptop.
and the files mentioned above.
This is a forum about vDos, which handles these things differently from vDosPlus. Please ask your question in the vDosPlus forum.