Subj : Re: ANSI in Mystic ? - a repeat for sure..
To : paulie420
From : deon
Date : Fri Dec 09 2022 08:43 am
Re: Re: ANSI in Mystic ? - a repeat for sure..
By: paulie420 to niter3 on Thu Dec 08 2022 10:12 am
Hey Paulie,
> I want to display ANSI characters in a writeln() MPL function. I can't just
> copy the characters from a Linux terminal; its in UTF-8... I know theres a
> way to get the 'correct' characters, but forgot how.
You are probably after iconv.
To see ANSI on a utf8 termainl. "cat ansifile.ans | iconv -f cp437 -t utf8"
The other way around is "cat file.txt | iconv -f utf8 -t cp437"
And I know mystic uses the pipe symbol, so dont recall if my instructions above will get messed up - so its cat filename pipe iconv ...
...����
--- SBBSecho 3.15-Linux
* Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)