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."
--- GoldED+/LNX 1.1.5-b20230205
* Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
|