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.

   GOLDED      GoldED Public Release discussion.      2,690 messages   

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

   Message 548 of 2,690   
   andrew clarke to mark lewis   
   UTF-8   
   08 Jun 15 16:45:36   
   
   07 Jun 15 14:06, you wrote to me:   
      
    ac>>> It should also be broadly useful for things like viewing CP437   
    ac>>> "ANSI art", running nethack with the IBMgraphics option or   
    ac>>> running EPIC with scripts that use CP437 artwork."   
      
    ml>> i'm going over to the STATS echo now to see how my graphs are   
    ml>> coming out ;)   
      
    ml> i had to switch golded back to xlatlocalset cp437 and it works! the   
    ml> graphs are showing the proper block characters and the message bodies   
    ml> with double and single line frames are good...   
      
   Cool.   
      
    ml> i find it interesting how he's accomplishing this ""feat of majik""   
    ml> too ;)   
      
   Well you could look at the source code, but essentially cp437.c runs the   
   output of the program through the iconv library to convert CP437 to UTF-8.   
   iconv supports other charsets, eg. CP850 (see iconv -l), so you could mod the   
   source and probably support other translations. Only one at a time though.   
   Just like using codepages in DOS.   
      
    ml> perhaps golded should be using the same basic method by default on   
    ml> *nix and having it available on winwhatever... it should be available   
    ml> on OS/2 as i have programs that use it there already... if golded can   
    ml> go this way, all those translation tables might be able to be thrown   
    ml> out ;)   
      
   GoldED has "experimental" support for iconv already (make ICONV=1) but it   
   doesn't build in FreeBSD so I haven't tried it, and I know it's not going to   
   fix the UTF-8 problems with GoldED. Using cp437.c works fine.   
      
   --- GoldED+/BSD 1.1.5-b20130910   
    * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)   

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


(c) 1994,  bbs@darkrealms.ca