ik wrote on ma, 05 nov 2012:
On Mon, Nov 5, 2012 at 4:39 PM, Jonas Maebe
<jonas.ma...@elis.ugent.be> wrote:
On 05 Nov 2012, at 15:25, ik wrote:
I have a program like this:
---------
program print;
begin
writeln(#$d790); // Should print א
[snip]
I'm trying to use UTF-8, not UTF-16 ($05d0 is UTF-16 values)
#$XXXX means "define a widechar constant with this value", and
widechars are always UTF-16. As mentioned in your later mail, if you
want to define individual byte values, you have to define them as
individual bytes.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal