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: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,060 |
Nodes: | 17 (0 / 17) |
Uptime: | 77:43:36 |
Calls: | 501,078 |
Files: | 109,390 |
D/L today: |
43 files (30,636K bytes) |
Messages: | 3,436,275,140 |