I'm launching an external python script, not MPY script.
When I'm trying to display ansi block characters I get the following. "█".
I am opening the ansi file with cp437 encoding, and everything displays correctly from a bash terminal, but within syncterm I'm getting that?
Any ideas how to fix this?
Python 2 or 3? I'm not nearly a Mystic expert, but I could never get Python 3 to work with it.
When I'm trying to display ansi block characters I get the following. "█".
I am opening the ansi file with cp437 encoding, and everything displays correctly from a bash terminal, but within syncterm I'm getting that?
Sounds like python is displaying it with utf8 encoding, change the encoding to output cp437 and you'll be golden.
| Sysop: | digital man |
|---|---|
| Location: | Riverside County, California |
| Users: | 1,166 |
| Nodes: | 17 (1 / 16) |
| Uptime: | 416:17:04 |
| Calls: | 509,422 |
| Calls today: | 8 |
| Files: | 262,054 |
| D/L today: |
4,057 files (1,424M bytes) |
| Messages: | 469,843 |
| Posted today: | 4 |