Printing unicode characters

Hairy Pixels via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <CAGsUGtk5y4mdpnSeyi2cn4A4WgNU_0HAhwR3vses6wopNJJ0cA@mail.gmail.com>
ChatGPT is saying I can  print unicode scalars like that but i don’t see it
works and no compiler warnings even. Did it make this up or did I do
something wrong?

  Writeln('Unicode scalar 1F496: ', #$1F496); // 💖
  Writeln('Unicode scalar 1F496: ', WideChar($1F496));  // 💖

Regards,
    Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.