Re: National characters under Borland C++ 5.02 Windows/DOS

new topic     » goto parent     » topic index » view thread      » older message » newer message

DOS and Windows use different code pages. I guess your editor is for Windows,
so it uses ANSI code page for Spanish, while DOS box uses OEM code page.
You need to convert between this two. (Eg. EditPad has OEM<->ANSI function,
also Windows API has some OEM<->ANSI functions) Also be sure to have DOS
codepage selected correctly, using lines

mode con codepage prepare=((852) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=852

in autoexec.bat (you need to replace 852 with codepage number for
Spanish)

If none of this helps, ask Igor smile

    Martin

----- Original Message -----
From: <rforno at tutopia.com>
To: "EUforum" <EUforum at topica.com>
Sent: Sunday, August 04, 2002 7:19 AM
Subject: National characters under Borland C++ 5.02 Windows/DOS

Dear Euphorians:
Of course this is an Off-topic question.
I am having problems with Borland C++ 5.02 because, when you specify a
character string in the editor, using national characters (in Spanish
áéíóúüñ etc.), it uses the Windows standard for them. However, when you
compile and execute such a program by means of the facilities that come with
the compiler (for example, the "lightning" button), it executes the program
under a DOS windows, and the national characters show as strange graphs.
Does someone know a way to avoid this problem?
TIA.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu