Tim Chase on Nostr: Ah, the joys of helping a poor soul struggling with filenames containing vertical ...
Ah, the joys of helping a poor soul struggling with filenames containing vertical bars. Except it wasn't an actual vertical-bar/pipe character (0x7c, which can cause grief in the shell if not escaped/quoted), but rather it was a U+FF5C "FULLWIDTH VERTICAL LINE"
Hurray for hexdump(1) output ☺
$ ls | hexdump -C
and it was clear what happened, with the UTF-8 encoding right there.
Published at
2025-03-03 20:59:06Event JSON
{
"id": "491fabee75634251247bc830417e36252c81222a3f9159f27d2747b5fd93c510",
"pubkey": "9d1fe9f29c7a1e42464c3985f7185fe112b286140d32b8586dd34c6f92d6d9ee",
"created_at": 1741035546,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/users/gumnos/statuses/114100505582727248",
"activitypub"
]
],
"content": "Ah, the joys of helping a poor soul struggling with filenames containing vertical bars. Except it wasn't an actual vertical-bar/pipe character (0x7c, which can cause grief in the shell if not escaped/quoted), but rather it was a U+FF5C \"FULLWIDTH VERTICAL LINE\"\n\nHurray for hexdump(1) output ☺\n\n$ ls | hexdump -C\n\nand it was clear what happened, with the UTF-8 encoding right there.",
"sig": "4078c76bf88ca3c3f6fb31b2e6638e03101dbc230251785543feb734496161b61e204f26876de0b4e61f9f8d0831ceaf988e48b063551abac60a4332bd5afb34"
}