High ASCII output with Python 3 - how?
[email protected] (Nicholas Boel)
| Newsgroups | alt.bbs.mystic |
|---|---|
| Organization | Agency HUB, Dunedin - New Zealand |
| Message-ID | <[email protected]> |
Hello Sebastian, On Thu Jul 13 2023 11:14:18, you wrote to All: SR> I am looking into developing a DOOR using Python 3.x for Mystic. SR> However, I cannot use write() or writeln() to output a string SR> containing special characters (such as [ae] [oe] á [sz]), they SR> will display incorrectly. The BBS is running in CP437 and so are SR> clients. SR> If I encode the characters manually and call write() or writeln() SR> using a bytestring, the user gets disconnected immediately. This may SR> be a bug. SR> What is the correct way to get a Python 3.x script to output special SR> characters in Mystic? If I remember right, Python 3.x doesn't work all that well with Mystic. Try using Python 2.x instead, as I believe that's what was used when support for Python was initially added. Regards, Nick ... "Take my advice, I don't use it anyway."