I understand what you say. But to know the current charset in Windows, what
function uses the compiler?:
a) getOEMCP
b) getACP
c) Other
thanks.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo
On 21 Jul 2010, at 20:47, Luis Fernando Del Aguila Mejía wrote:
> I wrote this program.
>
> var c,d: char;
> Begin
> c:=#$00B1;
> Writeln(byte(c));
> Writeln(c);
>
> d:=#$0080;
> Writeln(byte(d));
> Writeln(d);
> End.
>
> When I compile on Linux, the variable "c" stores the value #$B1, and the
I wrote this program.
var c,d: char;
Begin
c:=#$00B1;
Writeln(byte(c));
Writeln(c);
d:=#$0080;
Writeln(byte(d));
Writeln(d);
End.
When I compile on Linux, the variable "c" stores the value #$B1, and the
variable "d" stores the value #$80.
But when I compile the program in Windows, "c" st