I want to display ANSI characters in a writeln() MPL function. I can't copy the characters from a Linux terminal; its in UTF-8... I know there 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"
So I do that on all my machines w/ a;
alias ans='iconv -f cp437 -t utf8'
So I can just type 'ans filename.ans' to view it - but ok, so I type that command, some ANSI spits out, and I manually copy/pase that ANSI into an MPL writeln('') function - it doesn't display correctly.
Another users pointed out I can writeln(#228) to get a character, but I'm trying to get an ANSI character ^^^^ in there. :P
Thanks for the iconv info, its an awesome tool for any sysOp to display ANSI in their terminal.
|07p|15AULIE|1142|07o
|08.........
--- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
* Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)