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,842 messages   

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

   Message 11,449 of 11,842   
   Nicholas Boel to you   
   High ASCII output with Python 3 - how?   
   13 Jul 23 16:32:28   
   
   From: nospam.Nicholas.Boel@f10.n154.z1.fidonet.org   
      
   Hello Sebastian,   
      
   On Thu Jul 13 2023 11:14:18, you wrote to All:   
      
    SR> I am looking into developing a DOOR using Python 3.x for Mystic.   
      
    SR> However, I cannot use write() or writeln() to output a string   
    SR> containing special characters (such as „ [ae] ” [oe] á [sz]), they   
    SR> will display incorrectly. The BBS is running in CP437 and so are   
    SR> clients.   
      
    SR> If I encode the characters manually and call write() or writeln()   
    SR> using a bytestring, the user gets disconnected immediately. This may   
    SR> be a bug.   
      
    SR> What is the correct way to get a Python 3.x script to output special   
    SR> characters in Mystic?   
      
   If I remember right, Python 3.x doesn't work all that well with Mystic. Try   
   using Python 2.x instead, as I believe that's what was used when support for   
   Python was initially added.   
      
   Regards,   
   Nick   
      
   ... "Take my advice, I don't use it anyway."   
      
   --- 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