High ASCII output with Python 3 - how?
[email protected] (Sebastian Raase)
| Newsgroups | alt.bbs.mystic |
|---|---|
| Organization | Agency HUB, Dunedin - New Zealand |
| Message-ID | <[email protected]> |
Hi all, I am looking into developing a DOOR using Python 3.x for Mystic. However, I cannot use write() or writeln() to output a string containing special characters (such as [ae] [oe] á [sz]), they will display incorrectly. The BBS is running in CP437 and so are clients. If I encode the characters manually and call write() or writeln() using a bytestring, the user gets disconnected immediately. This may be a bug. What is the correct way to get a Python 3.x script to output special characters in Mystic? Best Regards, Sebastian