dosemu2 / comcom64

64bit command.com
https://github.com/dosemu2/comcom32/
GNU General Public License v3.0
32 stars 5 forks source link

cyrillic р doesn't work #24

Closed stsp closed 5 years ago

stsp commented 5 years ago

With $_internal_char_set = "cp866" cyrillic р doesn't work.

jharrison03 commented 5 years ago

What's the best way to have Euro symbol under DOS?

andrewbird commented 5 years ago

I didn't try it but this page seems to suggest there's a modified codepage (858) to use for Euro symbol. Dosemu's changelog speaks about it so there's a good chance that it worked in the past.

tkchia commented 5 years ago

Is there any known reason why the routine was checking for 0xe0 in the first place?

(As far as I know getch () from <conio.h> should not ever use 0xe0 to signify an extended key code. int $0x16 functions 0x10 and 0x11 however might do that.)

Thank you!

stsp commented 5 years ago

No idea why it was coded that way. And I don't think any extended key code is specified for getch(), but it returns 0 as such indication, as my testing suggests.