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,049 |
Nodes: | 15 (0 / 15) |
Uptime: | 179:02:33 |
Calls: | 233,562 |
Calls today: | 3 |
Files: | 60,153 |
D/L today: |
821 files (97,927K bytes) |
Messages: | 292,210 |