techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#codepage

0 posts0 participants0 posts today
Jarkko Sakkinen<p>I wonder why vfat in kconfig does not select these options:</p><ul><li>CONFIG_NLS_CODEPAGE_437</li><li>CONFIG_NLS_ISO8859_1</li></ul><p>Noticed this while putting together <a class="hashtag" href="https://social.kernel.org/tag/systemd" rel="nofollow noopener" target="_blank">#systemd</a> image. You really cannot use FAT meaningfully without 437, so there should be IMHO either depends or select relation between these and FAT kconfig options.</p><p>In my opinion selecting VFAT in 2024 from kconfig should lead to selecting all the options that are required for filenames at minimum because it has exactly two use cases:</p><ol><li>USB sticks</li><li>ESP</li></ol><p>In both cases proper interpretation of filenames is required.</p><p>PS. I also wonder why systemd does not list them as its required CONFIG_*. They are not obvious kconfig options in the context of kernel QA ;-) I always begin with tinyconfig and add up from there when doing this. Using ESP is required by practical means with systemd-boot so all three options should exist in this file: <a href="https://github.com/systemd/systemd/blob/main/README" rel="nofollow noopener" target="_blank">https://github.com/systemd/systemd/blob/main/README</a>. I used it as a reference and failed.</p><p><a class="hashtag" href="https://social.kernel.org/tag/linux" rel="nofollow noopener" target="_blank">#linux</a> <a class="hashtag" href="https://social.kernel.org/tag/kernel" rel="nofollow noopener" target="_blank">#kernel</a> <a class="hashtag" href="https://social.kernel.org/tag/vfat" rel="nofollow noopener" target="_blank">#vfat</a> <a class="hashtag" href="https://social.kernel.org/tag/codepage" rel="nofollow noopener" target="_blank">#codepage</a> #437</p>
Exxo<p>Und sowas noch in 2024!</p><p><a href="https://mastodon.social/tags/utf8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>utf8</span></a> <a href="https://mastodon.social/tags/unicode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unicode</span></a> <a href="https://mastodon.social/tags/codepage" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codepage</span></a></p>
Oriel Jutty :hhHHHAAAH:<p>I made a pair of web applications:</p><ol><li><p><a href="https://gate.uber.space/dkq/cgi-bin/xencode" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gate.uber.space/dkq/cgi-bin/xe</span><span class="invisible">ncode</span></a> takes a piece of text and shows how it would be represented in various encodings that it knows about.</p></li><li><p><a href="https://gate.uber.space/dkq/cgi-bin/xdecode" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gate.uber.space/dkq/cgi-bin/xd</span><span class="invisible">ecode</span></a> does the opposite. It takes a sequence of bytes (in hex) and shows what text it represents in various encodings.</p></li></ol><p>By the way, if you find a way to exploit these (particularly HTML injection/XSS), please tell me!</p><p>(Idea inspired by <span class="h-card" translate="no"><a href="https://digipres.club/@foone" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>foone</span></a></span>, who once asked for something like this.)</p><p><a href="https://infosec.exchange/tags/encoding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>encoding</span></a> <a href="https://infosec.exchange/tags/unicode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unicode</span></a> <a href="https://infosec.exchange/tags/codepage" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codepage</span></a></p>
Felix Palmen 📯<p>Just released dos2ansi v0.4, with lots of <a href="https://techhub.social/tags/DOS" class="mention hashtag" rel="tag">#<span>DOS</span></a> <a href="https://techhub.social/tags/codepage" class="mention hashtag" rel="tag">#<span>codepage</span></a> s supported and a testmode to display them.</p><p>The next nice feature would be to use the actual terminal capabilities if output goes there. Very simple on *nix-like systems (<a href="https://techhub.social/tags/Linux" class="mention hashtag" rel="tag">#<span>Linux</span></a>, <a href="https://techhub.social/tags/FreeBSD" class="mention hashtag" rel="tag">#<span>FreeBSD</span></a>, ...), just link <a href="https://techhub.social/tags/curses" class="mention hashtag" rel="tag">#<span>curses</span></a> and use the termcap functions.</p><p>Thinking about <a href="https://techhub.social/tags/Windows" class="mention hashtag" rel="tag">#<span>Windows</span></a> again, either I keep relying on <a href="https://techhub.social/tags/UTF8" class="mention hashtag" rel="tag">#<span>UTF8</span></a> support (since <a href="https://techhub.social/tags/win7" class="mention hashtag" rel="tag">#<span>win7</span></a> IIRC? and still a bit buggy) and <a href="https://techhub.social/tags/ANSI" class="mention hashtag" rel="tag">#<span>ANSI</span></a> sequences support (since <a href="https://techhub.social/tags/win10" class="mention hashtag" rel="tag">#<span>win10</span></a>) .... OR I attempt to use the native <a href="https://techhub.social/tags/Console" class="mention hashtag" rel="tag">#<span>Console</span></a> <a href="https://techhub.social/tags/API" class="mention hashtag" rel="tag">#<span>API</span></a> there (using special functions to write in <a href="https://techhub.social/tags/UTF16" class="mention hashtag" rel="tag">#<span>UTF16</span></a> and other special functions to set colors, which would require a major refactoring first 🙄)</p><p><a href="https://github.com/Zirias/dos2ansi/releases/tag/v0.4" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/Zirias/dos2ansi/rel</span><span class="invisible">eases/tag/v0.4</span></a></p>
Felix Palmen 📯<p>New pre-release of dos2ansi: v0.2</p><p>* Works on <a href="https://techhub.social/tags/Windows" class="mention hashtag" rel="tag">#<span>Windows</span></a>, win32 binary (cross-compiled on <a href="https://techhub.social/tags/FreeBSD" class="mention hashtag" rel="tag">#<span>FreeBSD</span></a>) attached<br />* Selectable input <a href="https://techhub.social/tags/codepage" class="mention hashtag" rel="tag">#<span>codepage</span></a> (so far only <a href="https://techhub.social/tags/cp437" class="mention hashtag" rel="tag">#<span>cp437</span></a>, <a href="https://techhub.social/tags/cp850" class="mention hashtag" rel="tag">#<span>cp850</span></a> and <a href="https://techhub.social/tags/cp858" class="mention hashtag" rel="tag">#<span>cp858</span></a>)<br />* Selectable output format, <a href="https://techhub.social/tags/utf8" class="mention hashtag" rel="tag">#<span>utf8</span></a>, <a href="https://techhub.social/tags/utf16" class="mention hashtag" rel="tag">#<span>utf16</span></a> or <a href="https://techhub.social/tags/utf16le" class="mention hashtag" rel="tag">#<span>utf16le</span></a>, with or without <a href="https://techhub.social/tags/BOM" class="mention hashtag" rel="tag">#<span>BOM</span></a> </p><p>Still a few things to add, e.g. use <a href="https://techhub.social/tags/termcap" class="mention hashtag" rel="tag">#<span>termcap</span></a>/#terminfo or Windows Console API for &quot;color output&quot; when applicable ... we will see 😎</p><p><a href="https://github.com/Zirias/dos2ansi/releases/tag/v0.2" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/Zirias/dos2ansi/rel</span><span class="invisible">eases/tag/v0.2</span></a></p>
Felix Palmen 📯<p>Remember these specific <a href="https://techhub.social/tags/ASCIIart" class="mention hashtag" rel="tag">#<span>ASCIIart</span></a> misrenderings using the wrong <a href="https://techhub.social/tags/codepage" class="mention hashtag" rel="tag">#<span>codepage</span></a>? Made actually a good testcase after adding codepage selection to my new &quot;dos2ansi&quot; tool 😜<br /><a href="https://github.com/Zirias/dos2ansi" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">github.com/Zirias/dos2ansi</span><span class="invisible"></span></a></p><p>Screenshot from <a href="https://techhub.social/tags/konsole" class="mention hashtag" rel="tag">#<span>konsole</span></a> (<a href="https://techhub.social/tags/KDE" class="mention hashtag" rel="tag">#<span>KDE</span></a>) running on <a href="https://techhub.social/tags/FreeBSD" class="mention hashtag" rel="tag">#<span>FreeBSD</span></a> and using Microsoft&#39;s <a href="https://techhub.social/tags/Consolas" class="mention hashtag" rel="tag">#<span>Consolas</span></a> font.</p>
–modo ⚛️ 🧬 🇪🇺 🇨🇦 🇺🇦<p>Everything you've always wanted to know about computer text but you were too afraid to ask</p><p><a href="https://www.youtube.com/watch?v=gd5uJ7Nlvvo" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=gd5uJ7Nlvv</span><span class="invisible">o</span></a></p><p><a href="https://mastodon.social/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://mastodon.social/tags/computers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>computers</span></a> <a href="https://mastodon.social/tags/unicode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unicode</span></a> <a href="https://mastodon.social/tags/ascii" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ascii</span></a> <a href="https://mastodon.social/tags/codepage" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codepage</span></a> <a href="https://mastodon.social/tags/pikematchbox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pikematchbox</span></a></p>