[fpc-pascal] question about changing default ASCII table in the fpc 2.2.0 IDE

Noel and Marie nandm at adam.com.au
Fri Jun 25 00:37:20 CEST 2010


Thanks Tomas.  I didn't see your promise to look at the problem.

  I have just relied on email replies for comments etc. How do I look at all 
comments, other questions, etc on the Web?

Noel

----- Original Message ----- 
From: "Tomas Hajny" <XHajT03 at hajny.biz>
To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
Sent: Thursday, June 24, 2010 11:59 PM
Subject: Re: [fpc-pascal] question about changing default ASCII table in the 
fpc 2.2.0 IDE


On Thu, June 24, 2010 06:41, Noel and Marie wrote:
> Hello,
>
> I would like to print a square root symbol using  write(chr(251)); as I
> could before SP3 for XP was installed on my PC.
>
> Currently am getting a superscript 1 rather than the square root symbol
> from
> write(chr(251)).
>
> I've tried the following kind suggestions of Tomas Hajny, unfortunately
> without success:
>
> 1.   In a command shell I entered
>          CHCP 437     and then ran the program
>
> 2.  Modified the source code to include the Windows unit and added line
> setConsoleOutputCP(437);,
>         compiled and then ran the program.
>
>
> I  examined the registry settings   in directory Codepage.
>         Name              Data
>       (default )         (value not set)
>         ...
>         ACP                1252
>         MACCP        10000
>         OEMCP            850
>         OEMHAL        vgaoem.fon
>
>         Changed OEMCP to 437     and got an accented 'u'.   Then restored
> the system.
>
> I wonder if anyone can suggest a solution to the problem.

I still intend to have a look at it (as promised previously), just had no
time for that (if noone else provides answer till then).

Tomas


_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list