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:22:11 +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 20:59, Gaius Mulley wrote:
>
>  > To ascertain, there is no way to write a multi-byte char to the console 
> using the GM2 provided IO libraries?
>
>  It can be done but it is not pretty :-), but the underlying mechanism works
>
>  PROCEDURE Euros ;
>  BEGIN
>     Write (CHR (0E2H)) ;
>     Write (CHR (082H)) ;
>     Write (CHR (0ACH))
>  END Euros ;
>
>  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:

$ echo $LANG
en_GB.UTF-8

https://unix.stackexchange.com/questions/8859/can-a-gnome-terminal-profile-use-utf-8-by-default




reply via email to

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