Hi Robert and Davi,
The system's keyboard and layout are already configured to "br" (for Brazilian Portuguese) and working perfectly. Other accentuated characters display just fine. That is the case of "á", "à", "ô". However, "ã" shows as something else entirely. Image below: oIh6TW8.png How can I get FreeDOS to correctly display those characters?
You probably have to load DISPLAY and use MODE to set the codepage to load a font which has all accented characters at the place where your already Brazilian keyboard configuration expects them :-) See the HTMLHELP system for details. There should also be some examples on the web. It should work similar to this: First, load the DISPLAY thing. You can do this in your autoexec to load it automatically at boot, or manually at the prompt: LH DISPLAY CON=(EGA,,1) rem or maybe for example DISPLAY CON=(EGA,858,1) or similar? Second, use MODE CON CODEPAGE (shorthand MODE CON CP also works) to first prepare (shorthand PREP) and then select (shorthand SEL) the codepage for your country. In my example the codepage is 858, which happens to be in EGA.CPX, which is a compressed version of EGA.CPI - some less common codepages will probably be in other CPX files. MODE CON CP PREP=((858) C:\FDOS\cpi\EGA.CPX) MODE CON CP SEL=858 You can do those two MODE invocations in autoexec or at the prompt as well. You can use MODE /? for help, too. The internet says that Brazilians prefer codepage 860 :-) Regards, Eric
1) How do you enter "ã"? 2) Is that a separate key on your keyboard? 3) What does https://bootablecd.de/fdhelp-internet/en/hhstndrd/base/keycode.htm produce, when you hit that key or key combo?
Interesting questions :-) Maybe all falls into place with CP860. _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user