Try this: (a char is only one byte, you're trying to print a multi-byte character: print multiple one-byte characters) WriteLn(#$d7, #$90);
On 11/05/2012 03:25 PM, ik wrote: > Hello, > > I have a program like this: > > --------- > program print; > begin > writeln(#$d790); // Should print א > end. > ---------- > > I print this to a file: > > ./program > file > > In hex editor the value 3F A0 > > It also the same on normal terminal. > > I'm using Free Pascal Compiler version 2.6.0 [2012/05/17] for x86_64 > Under Linux. > > What am I missing or doing wrong ? > > Thanks, > Ido > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > -- Ewald Events don't necessarily happen in chronological order; yet somehow they do persist to happen. Sometimes. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal