MYSTIC------------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 43 из 100
 От   : Sebastian Raase                     2:240/8001        13 июл 23 11:14:19
 К    : All                                                   13 июл 23 12:27:17
 Тема : High ASCII output with Python 3 - how?
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 2:240/8001 a7b3ca5c
@TID: Mystic BBS 1.12 A43
@TZUTC: 0200
Hi all,

I am looking into developing a DOOR using Python 3.x for Mystic.

However, I cannot use write() or writeln() to output a string containing
special characters (such as Д [ae] Ф [oe] с [sz]), they will display
incorrectly. The BBS is running in CP437 and so are clients.

If I encode the characters manually and call write() or writeln() using a
bytestring, the user gets disconnected immediately. This may be a bug.

What is the correct way to get a Python 3.x script to output special
characters in Mystic?

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



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх