home.social

#codepage — Public Fediverse posts

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

  1. I made a pair of web applications:

    1. gate.uber.space/dkq/cgi-bin/xe takes a piece of text and shows how it would be represented in various encodings that it knows about.

    2. gate.uber.space/dkq/cgi-bin/xd does the opposite. It takes a sequence of bytes (in hex) and shows what text it represents in various encodings.

    By the way, if you find a way to exploit these (particularly HTML injection/XSS), please tell me!

    (Idea inspired by @foone, who once asked for something like this.)

    #encoding #unicode #codepage

  2. Just released dos2ansi v0.4, with lots of #DOS #codepage s supported and a testmode to display them.

    The next nice feature would be to use the actual terminal capabilities if output goes there. Very simple on *nix-like systems (#Linux, #FreeBSD, ...), just link #curses and use the termcap functions.

    Thinking about #Windows again, either I keep relying on #UTF8 support (since #win7 IIRC? and still a bit buggy) and #ANSI sequences support (since #win10) .... OR I attempt to use the native #Console #API there (using special functions to write in #UTF16 and other special functions to set colors, which would require a major refactoring first 🙄)

    github.com/Zirias/dos2ansi/rel

  3. New pre-release of dos2ansi: v0.2

    * Works on #Windows, win32 binary (cross-compiled on #FreeBSD) attached
    * Selectable input #codepage (so far only #cp437, #cp850 and #cp858)
    * Selectable output format, #utf8, #utf16 or #utf16le, with or without #BOM

    Still a few things to add, e.g. use #termcap/#terminfo or Windows Console API for "color output" when applicable ... we will see 😎

    github.com/Zirias/dos2ansi/rel

  4. New pre-release of dos2ansi: v0.2

    * Works on #Windows, win32 binary (cross-compiled on #FreeBSD) attached
    * Selectable input #codepage (so far only #cp437, #cp850 and #cp858)
    * Selectable output format, #utf8, #utf16 or #utf16le, with or without #BOM

    Still a few things to add, e.g. use #termcap/#terminfo or Windows Console API for "color output" when applicable ... we will see 😎

    github.com/Zirias/dos2ansi/rel

  5. New pre-release of dos2ansi: v0.2

    * Works on #Windows, win32 binary (cross-compiled on #FreeBSD) attached
    * Selectable input #codepage (so far only #cp437, #cp850 and #cp858)
    * Selectable output format, #utf8, #utf16 or #utf16le, with or without #BOM

    Still a few things to add, e.g. use #termcap/#terminfo or Windows Console API for "color output" when applicable ... we will see 😎

    github.com/Zirias/dos2ansi/rel

  6. New pre-release of dos2ansi: v0.2

    * Works on #Windows, win32 binary (cross-compiled on #FreeBSD) attached
    * Selectable input #codepage (so far only #cp437, #cp850 and #cp858)
    * Selectable output format, #utf8, #utf16 or #utf16le, with or without #BOM

    Still a few things to add, e.g. use #termcap/#terminfo or Windows Console API for "color output" when applicable ... we will see 😎

    github.com/Zirias/dos2ansi/rel

  7. New pre-release of dos2ansi: v0.2

    * Works on , win32 binary (cross-compiled on ) attached
    * Selectable input (so far only , and )
    * Selectable output format, , or , with or without

    Still a few things to add, e.g. use /#terminfo or Windows Console API for "color output" when applicable ... we will see 😎

    github.com/Zirias/dos2ansi/rel

  8. Remember these specific #ASCIIart misrenderings using the wrong #codepage? Made actually a good testcase after adding codepage selection to my new "dos2ansi" tool 😜
    github.com/Zirias/dos2ansi

    Screenshot from #konsole (#KDE) running on #FreeBSD and using Microsoft's #Consolas font.

  9. @bkastl

    Aaaah ... XÖV ... ich wäre mir an deren Stelle mal nicht so sicher, dass das "Ö" in irgendwelchen Behärdensystemen keine #Codepage-Probleme macht! 🤣

    #degitalisierung