The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘Encoding’ Category

MacOS and Windows: sorting – Simple to enter Unicode character that would sort after Z in most cases? – Stack Overflow

Posted by jpluimers on 2026/03/10

TL;DR: There is no simple character that works on both MacOS and Windows.

[Wayback/Archive] sorting – Simple to enter Unicode character that would sort after Z in most cases? – Stack Overflow (thanks [Wayback/Archive] sorin and [Wayback/Archive] degenerate):

A

On Windows, none of these options work because they all sort before A.

A solution I ended up using is an Arabic character:

ٴ This folder comes after z in windows

Source

According to [Wayback/Archive] What Unicode character is this ?, the above mentioned character is U+0674 : ARABIC LETTER HIGH HAMZA.

Note that on Windows the ٴ character displays at the start of the filename, but on MacOS in Finder it ends up behind the extension (as Arabic script is right-to-left) and is very hard to remove. On the MacOS Terminal it ends up on the left and is easy to modify.

Read the rest of this entry »

Posted in Apple, Encoding, Mac OS X / OS X / MacOS, Power User, Unicode, Windows | Leave a Comment »

UTF-8, Explained Simply – YouTube

Posted by jpluimers on 2026/03/04

Cool interesting video: [Wayback/Archive] UTF-8, Explained Simply – YouTube

It covers both history from the late 1800s Baudot Code (also known as ITA1) via 1930s ITA2 and 1950’s EBCDIC / FIELDATA ages through 7-bit ASCII in the 1970s  and incompatible UCS-2 (now UTF-16) of the 1990s to the current day and age of UTF-8 (which actually started out on a placemat in 1992).

Though mentioning 8-bit encoding, it skips details of extended ASCII encodings like ISO/IEC 8859 and Windows-1252.

It goes to quite some length on decoding UTF-8 and showing how forgiving the UTF-8 standard is. Yes, it is a self-synchronising code thanks to the venerable Ken Thompson.

Definitely worth watching as it also covers the Zero-width joiner which is not just important for combining Emoji, as it is used by many people nowadays, but got in fact implemented to support various scripts like Arabic script or any Indic script.

Oh, the placemat story: Read the rest of this entry »

Posted in ASCII, Development, EBCDIC, Encoding, ISO-8859, Software Development, UCS-2, Unicode, UTF-16, UTF-8, Windows-1252 | Leave a Comment »

Decoding HTML encoded source to XML text

Posted by jpluimers on 2026/03/03

For Some links on getting the most recent defragmentation time of a Windows volume I needed to copy back and forth some XML code back and forth between my ARM MacBook Pro to a remote Windows machine accessing via the Microsoft Windows App (the app formerly known as Microsoft Remote Desktop for Mac).

The problem with that is the copying would lose line breaks, which for XML meaning is no problem, but for human understandability while editing the XML in the Event View query dialog was.

So I decided to go to the “Code” view in my Classic WordPress editor (did I ever tell you much I dislike – especially the accessibility of – the not so new but still haughty named Gutenberg editor?), copied the HTML encoded form and wanted to convert it to unencoded XML text.

Well, here I got to naming confusion land, on which I will talk further below, but first two of the potential solutions:

Read the rest of this entry »

Posted in Cyberchef, Development, Encoding, HTML, Software Development, URL Encoding, Web Development | Leave a Comment »

Generating random strings for passwords and uuids/guids on both Windows and Linux using base64 and hex encoding, plus: “Hive Systems: Are Your Passwords in the Green?”

Posted by jpluimers on 2026/02/25

Often I need to generate passwords or uuids (on some systems called guids). I usually try to do that in a relatively platform agnostic way as I use MacOS, Windows and Linux in various mixes for many reasons (for instance that I have had developed quite hefty RSI in the early 1990s of the and the best keyboard/pointing-device combination for is the MacBook built in keyboard/touchpad combination so basically MacBooks are my window to all other operating systems).

Generating randomly with a good random number generator them makes sense as for most usage, it is important that both passwords and uuids are hard to guess which means having an entropy that is as high as possible.

A cool thing about OpenSSL is that:

  1. most of not all systems have it installed (it was no coincidence I published Installing OpenSSL on Windows a few days ago)
  2. it has a very good pseudo-random number generator and as of [Wayback/Archive] OpenSSL version 1.1.1 first released in 2018 has solved the problem around [Wayback/Archive] Random fork-safety – OpenSSLWiki, see [Wayback/Archive] Our Review of the OpenSSL 1.1.1 Random Number Generation Update – OSTIF.org.
  3. it supports various useful output formats hex (hexadecimal) and base64 (next to the default of octet – or by today’s naming convention byte – output)

The easiest to generate are passwords. Yes I know that password managers can do this too, but there are some systems I cannot use them on or sync between them (don’t you love the corporate world) so my aim is to use a random password generator in a platform agnostic way which usage is easy to remember. Read the rest of this entry »

Posted in *nix, *nix-tools, Apple, base64, bash, bash, Batch-Files, Conference Topics, Conferences, Development, Encoding, Event, HEX encoding, Mac, Mac OS X / OS X / MacOS, MacBook, OpenSSL, Power User, Python, Scripting, Software Development, Windows | Leave a Comment »

A 2D barcode on PostNL delivered packages can contain too much sender information (via Security.NL and Tweakers.net): is this in the documented Data Matrix and who should fix this?

Posted by jpluimers on 2026/02/17

Yesterday, an important question appeared at almost the same time on Tweakers.net and Security.nl. It is about 2D barcodes on some packages delivered by PostNL. Some of these – I call them Data Matrix, as that is what they are – seem to include the e-mail address of the recipient.

The posts caused some uproar, and in order for myself to understand what is going on and what questions should be asked to PostNL, I wrote this blog post.

In any case: always remove parcel labels before disposing of the parcels, then destroy the labels. This has always been good privacy practice and will stay that way forever.

 

Regrettably, Tweakers.net blocks both the Wayback Machine and Archive Today, which makes their information ephemeral. Therefore I archived some of the Tweakers.net information in the gist [Wayback/Archive] “E-mailadres van ontvanger kan in PostNL barcode staan” archived from https://gathering.tweakers.net/forum/list_messages/2327530/0 · GitHub

Read the rest of this entry »

Posted in base64, Development, Encoding, Font, KIX Font PostNL, Power User, Python, Scripting, Software Development | Leave a Comment »

A few pfSense quirks I got used to over the years

Posted by jpluimers on 2026/01/06

Everytime when installing a pfSense router from scratch, I seem to re-learn a few of the below quirks. So it was finally time to document them (:

Quite a few of my pfSense configurations are just doing routing between various networks, should not provide DHCP leases and do not always need or have a WAN connected (i.e. they are LAN-only).

Read the rest of this entry »

Posted in Communications Development, Conference Topics, Conferences, Cyberchef, Development, DHCP, Encoding, Event, Hardware, HTTP, Internet protocol suite, MikroTik, Network-and-equipment, pfSense, Power User, routers, Software Development, SSH, TCP, TLS, UDP | Tagged: | Leave a Comment »

Cory LaViska: “ooh you can create intent links for Bluesky” — Bluesky

Posted by jpluimers on 2025/11/20

A longer while I ago, I could not find a URL that would bring up the BKSY post pop-up.

A while ago, I found out there is a compose intent URL: you can even add a text parameter with URL-encoded content!

[Wayback/Archive] Cory LaViska: “ooh you can create intent links for Bluesky” — Bluesky

[Wayback/Archive] bafkreig4tmnf44akrfnqvuvinsj6pkg4zsosu5uivwpgqypkpgree247xq@jpeg (1000×425)

The below queries revealed various other posts indicating the same:

Read the rest of this entry »

Posted in Development, Encoding, HTML, Software Development, URL Encoding, Web Development | Leave a Comment »

Best 404 page ever? : ProgrammerHumor

Posted by jpluimers on 2025/11/13

While doing some ASCII art blog-post drafts cleanup, I bumped into the (now deleted) [Wayback/Archive] Best 404 page ever? : r/ProgrammerHumor which pointed to the (also now deleted).

I got there via my (not deleted!) blog post Why I like PlantUML.

So I dug up the old archived copy of that PlantUML 404-page and made gist out of it.

I soon realised this was all encoded stuff, seemingly a mix of a ROT13 variation and some other shifting around.

Luckily the original page mentioned in the Reddit post was way easier, so I put that in a gist too.

Bot are below the blog-signature. Enjoy!

Oh, and the full text of course above the signature:

Read the rest of this entry »

Posted in ASCII, ASCII art / AsciiArt, CSS, Development, Encoding, Fun, HTML, HTML5, JavaScript/ECMAScript, Scripting, Software Development, Web Development | Leave a Comment »

ASCII Art Archive, my own ASCII signature, plus many FIGlet and TOIlet ASCII font art links

Posted by jpluimers on 2025/11/11

Earlier this year I bumped into [Wayback/Archive] ASCII Art Archive

This brought back instant memories about ASCII art, so in the future expect af few unfinished blog-posts that were in my “if I ever get to it archive” about it.

Let me start with my very limited ASCII art I used in late 1980s and early 1990s newsgroup and LISTSERV mailing list signature I reconstructed from a comp.virus post¹ having some very old contact data²:

    o  _   _  _   _   _            voice: +31-2522-20908 (18:00-24:00 UTC)
   /  (_' |  (_) (_' | |           snail: P.S.O.
__/                                       attn. Jeroen W. Pluimers
                                          P.O. Box 266
jeroenp@rulfc1.LeidenUniv.nl              2170 AG Sassenheim
jeroen_pluimers@f521.n281.z2.fidonet.org  The Netherlands

Shortly after that, my main source of income moved from the command-line to GUI based tools, so I temporarily kind of lost interest in command-line tools and customs. In that period FIGlet (see below) got created, which I totally missed (though I vaguely remember the 1.0 version being named newban).

The link at the start of this blog post not only pointed me to FIGlet, but also has a lot of examples (like some [Wayback/Archive] ASCII Art Logos – asciiart.eu) of which many by ASCII artist Joan Stark, and also links to JavaScript based tools:

Read the rest of this entry »

Posted in ASCII art / AsciiArt, Development, Encoding, Fun, History, JavaScript/ECMAScript, Retrocomputing, Scripting, Software Development | Leave a Comment »

Turning off AI during Google Search with the “new” UDM parameter

Posted by jpluimers on 2025/10/17

It looks like I missed that Google has added a new URL parameter to its search engine quite a while ago.

In the past, you could turn on image search using the tbm=isch URL parameter (“to be matched” and “image search”).

That still works, but there is a new parameter on the block that is officially undocumented, and can be used to switch into various search modes including image search but also AI-less search.

This drastically lowers the carbon footprint and also gets you far less speculative information.

Edit 20251023: I forgot to save the below part before the scheduled post got published. So here we go

Read the rest of this entry »

Posted in AI and ML; Artificial Intelligence & Machine Learning, Chrome, Chrome, Chromium, Development, Edge, Firefox, Google, Google AI, GoogleSearch, LLM, Mastodon, Power User, Reddit, SocialMedia, Software Development, Twitter, URL Encoding, Web Browsers | Leave a Comment »