home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   MYSTIC      Mystic support echo      16,010 messages   

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

   Message 14,998 of 16,010   
   Travis Mehrer to Clive Reuben   
   Re: python3 not printing extended chars   
   13 Oct 22 06:53:36   
   
   TID: Mystic BBS 1.12 A48   
   MSGID: 1:134/303 4bf6005f   
   REPLY: 1:142/104 cce51fd8   
   TZUTC: -0600   
   On 06 Oct 2022, Clive Reuben said the following...   
       
    CR> Hey g00r00, I was wondering if you knew of a reason that embedded   
    CR> python3 would not be able to print extended characters... e.g. if I do:    
    CR>    
    CR> "write(chr(177))" it will print garbage....    
      
   I can somewhat confirm this; however, it's worth noting that since Python 3   
   uses unicode by default chr() doesn't behave the same as in Python 2. chr()   
   will output the unicode character of that number.   
      
   In a terminal you could use something like b'xc0'.decode('cp437') (sorry   
   that's just the hex code for the character I was testing with) to output an   
   ANSI character. But this also doesn't seem to output as expected with mpy.    
      
   ... My software never has bugs. It just develops random features...   
      
   --- Mystic BBS v1.12 A48 2022/07/15 (Raspberry Pi/32)   
    * Origin: CaNerDUH BBS (1:134/303)   
   SEEN-BY: 1/123 15/0 90/1 105/81 106/201 120/340 123/131 129/305 153/7715   
   SEEN-BY: 218/700 226/30 227/114 229/110 111 112 113 206 275 317 400   
   SEEN-BY: 229/424 426 428 452 470 550 664 700 266/512 282/1038 292/854   
   SEEN-BY: 317/3 320/219 322/757 342/200 396/45 460/58 633/280 712/848   
   PATH: 134/303 101 100 153/757 280/464 221/1 6 229/664 426   
      

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


(c) 1994,  bbs@darkrealms.ca