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: | Eric Oulashin |
|---|---|
| Location: | Beaverton, Oregon, USA |
| Users: | 136 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 06:29:21 |
| Calls: | 8,282 |
| Calls today: | 14 |
| Files: | 9,486 |
| D/L today: |
242 files (98,108K bytes) |
| Messages: | 408,210 |
| Posted today: | 5 |