Nп/п : 45 из 100
От : Sebastian Raase 2:240/8001 14 июл 23 01:29:57
К : Nicholas Boel 14 июл 23 03:12:06
Тема : Re: High ASCII output with Python 3 - how?
----------------------------------------------------------------------------------
@MSGID: 2:240/8001 9da5d067
@REPLY: 1:154/10 64b06dce
@TID: Mystic BBS 1.12 A43
@TZUTC: 0200
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)
SEEN-BY: 50/109 221/1 6 240/1120 1634 4075 5832
8001 8002 8005 8006 8050
SEEN-BY: 280/464 5003 291/111 292/854 301/1 113
708 313/41 335/364 341/66
SEEN-BY: 371/0 382/147 467/888 3634/12 5000/111
5001/100 5005/49 5019/40
SEEN-BY: 5020/329 715 830 848 1042 4441 12000
5030/49 1081 5053/51 5061/133
SEEN-BY: 5075/128 5080/102 5083/1 444 5090/958
@PATH: 240/8001 1120 301/1 5020/1042 4441