TIP: Click on subject to list as thread! ANSI
echo: mystic
to: Nicholas Boel
from: Sebastian Raase
date: 2023-07-14 01:29:00
subject: Re: High ASCII output wit

Hi Nicholas,

 NB>> What is the correct way to get a Python 3.x script to output special
 NB>> characters in Mystic?
 NB> 
 NB> If I remember right, Python 3.x doesn't work all that well with Mystic.
 NB> Try using Python 2.x instead, as I believe that's what was used when
 NB> support for Python was initially added.

Unfortunately, Python 2.x is very much dead by now and the libraries I am
planning to use don't support it. So that won't work. Thanks for confirming
my suspicions, though...

It would be really nice if Mystic could take the incoming strings (which, in
Python 3.x, are always UTF-8) and convert them to the correct codepage. Same
for handling input. That way, all the encoding mess would be taken care of
outside the plugins. Dreaming is still allowed, isn't it?

I haven't found any (current) source code for Mystic, so I can't fix it.

Best Regards,
Sebastian

--- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
                            
* Origin: BlackICE BBS (BlackICE.BBSindex.com:23) (2:240/8001)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.