[fpc-pascal] weird printout of char

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Nov 5 15:39:12 CET 2012


On 05 Nov 2012, at 15:25, ik wrote:

> I have a program like this:
>
> ---------
> program print;
> begin
>  writeln(#$d790); // Should print א
> end.
> ----------
>
[snip]
> What am I missing or doing wrong ?

a) add "uses cwstring" to get a full unicodestring manager in your  
program
b) the unicode code point for א is $05d0, not $d790


Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20121105/8ffc8a88/attachment.html>


More information about the fpc-pascal mailing list