home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.bbs.mystic      Mystic Sysops are mystical nerds...      11,847 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 11,446 of 11,847   
   Sebastian Raase to All   
   High ASCII output with Python 3 - how?   
   13 Jul 23 11:14:19   
   
   From: nospam.Sebastian.Raase@f8001.n240.z2.fidonet.org   
      
   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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca