So I'm trying to display ANSI thru MPL, and when I copy ANSI in its in UTF-8 and looks all messed up.
All I need (currently) is one FULL BLOCK. (F4 in Moebius/TheDraw if yer
on the block set)
I forget the couple ways one can do this... I know I can print the character code - or... can someone remind me;
Want to display one ANSI full block in a MPL write command.
All I need (currently) is one FULL BLOCK. (F4 in Moebius/TheDraw if yer
on the block set)
I forget the couple ways one can do this... I know I can print the character code - or... can someone remind me;
Not sure i undefstand. are you referring to the SFXX mci codes?
You can just use a Write ('Whatever '+#219+' that is a block.')
Just use # followed by the char code. Which 219 is a full block
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.
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"
Not sure i undefstand. are you referring to the SFXX mci codes?
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.
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 91 |
Nodes: | 16 (0 / 16) |
Uptime: | 18:07:36 |
Calls: | 5,074 |
Calls today: | 6 |
Files: | 8,491 |
Messages: | 352,935 |
Posted today: | 1 |