Re: 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 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.