home.social

#codepages β€” Public Fediverse posts

Live and recent posts from across the Fediverse tagged #codepages, aggregated by home.social.

  1. As hard to believe as it is, the #Windows #Console still supports #CP437. And with the "virtual terminal processing" introduced in #Win10, it also accepts escape sequences, obviously even the more obscure ones from ANSI.SYS πŸ˜‚

    So, on a somewhat recent #Windows, you can display most #ANSIart without any extra tool, 'chcp 437' and 'type' is enough.

    #dos2ansi will still be helpful:

    * The output is sanitized, using *only* SGR sequences and a #Unicode encoding (so, also suitable to store in a file)
    * Correlated here, some "exotic" MS-DOS #codepages are supported.
    * On Windows > win10, colors will be corrected to the CGA/VGA palette (first screenshot)
    * It will still work if your terminal width is different from what the input file assumes (second screenshot)

    Screenshots show first 'type' with cp437 selected, then 'dos2ansi' 😎