Am 01.12.2024 um 14:37 schrieb Hairy Pixels via fpc-pascal:
On Dec 1, 2024 at 2:23:08 PM, Nikolay Nikolov via fpc-pascal
wrote:
Here's how Free Pascal types map to Unicode terminology:
WideChar = UTF-16 code unit
UnicodeString = UTF-16 encoded string
WideString = UTF-16 encoded string. On Wi
Indeed you CAN print Unicode characters, but not with the normal windows
command prompt, nor with powershell, that is where the problem is, not with
FreePascal. But if you go to the Windows Store and download the free “Windows
Terminal” there you can get it to work.
When you run the windows t
On Dec 1, 2024 at 2:02:06 PM, Adriaan van Os via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> They call that "Unicode", which is plain nonsense. In the real world, one
> can not stuff 21-bits
> into 16-bits.
>
> For heaven's sake, let's stop talking about so-called "Unicode" and
> inste
On Dec 1, 2024 at 2:23:08 PM, Nikolay Nikolov via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Here's how Free Pascal types map to Unicode terminology:
>
> WideChar = UTF-16 code unit
>
> UnicodeString = UTF-16 encoded string
>
> WideString = UTF-16 encoded string. On Windows it's not r
On 12/1/24 9:02 AM, Adriaan van Os via fpc-pascal wrote:
Hairy Pixels via fpc-pascal wrote:
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: ', #$
Hairy Pixels via fpc-pascal wrote:
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($
On 12/1/24 8:14 AM, Hairy Pixels via fpc-pascal wrote:
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); // 💖
This works for me under L