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: | altere |
---|---|
Location: | Houston, TX |
Users: | 69 |
Nodes: | 4 (0 / 4) |
Uptime: | 07:47:22 |
Calls: | 1,062 |
Calls today: | 2 |
Files: | 8,069 |
Messages: | 298,925 |