Nп/п : 15 из 77
 От   : Sebastian Raase                     2:5075/128        13 июл 23 11:14:19
 К    : All                                                   13 июл 23 13:21:17
 Тема : High ASCII output with Python 3 - how?
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <2813577820@f8001.n240.z2.fidonet.org>
5076d73e
@REPLYADDR Sebastian Raase
<nospam.Sebastian.Raase@f8001.n240.z2.fidonet.org>
@REPLYTO 2:5075/128 Sebastian Raase
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<2813577820@f8001.n240.z2.fidonet.org>
@TZUTC: 1300
@PID: VSoup v1.2.9.47Beta [95/NT]
@TID: FIDOGATE-5.12-ge4e8b94
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

--- VSoup v1.2.9.47Beta [95/NT]
 * Origin: Agency HUB, Dunedin - New Zealand (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



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

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