gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode I/O for GM2


From: Gaius Mulley
Subject: Re: Unicode I/O for GM2
Date: Tue, 26 Mar 2024 13:43:38 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Benjamin Kowarsch <trijezdci@gmail.com> writes:

> On Tue, 26 Mar 2024 at 22:22, Gaius Mulley wrote:
>
>  >  So, you just write UTF8 to the console. Where is it interpreted then?
>
>  I'm not sure, I guess in the gnome console - it renders a euro symbol.
>  Ah yes I think this is the case:
>
> Ok, so there is nothing in the M2 library that messes with the bytes
> written to the console an it is up to the console to interpret. How
> about WriteString()? Are the chars in the string interpreted and
> modified in any way? Or could you just insert a UTF8 byte sequence
> into a string and write it to the console using WriteString() ???

StrIO.WriteString, only interprets 0C (termination) - other than that
writes characters to StdIO.

FIO.WriteString does the same (but to file).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]