Fred Koschara - My official personal Web page

The Internet Home of

Fred Koschara

hilarious

I was discussing UTF-8 encoding with ChatGPT…

Nov. 07, 2025, under hilarious, software dev

Me:

I know that BOM in this context means “Byte Order Mark” but in my experience, it has also (perhaps more often) meant “Bill Of Materials” which is where part of my initial confusion came from when I first encountered UTF-8 BOM (in an extremely negative way – it cost me at least 8 hours trying to find a PHP bug that I had no clue about) – and if you ask me, it’s missing a B at the end: The encoding format should be named UTF-8 BOMB because it blows up anywhere but in tiny parts of the evil micro$hit universe.

ChatGPT:

laughing — yes, UTF-8 BOMB is a completely fair name for it.

That “invisible” 3-byte gremlin — EF BB BF — has ruined more otherwise-perfect PHP, Bash, and Python files than just about anything else that’s technically legal. I’ve seen it sneak in via Notepad, Notepad++, even some FTP clients doing “auto-convert.” The interpreter hits those bytes before <?php or #!/usr/bin/env bash, and suddenly nothing works, sometimes with no error at all until hours later.

So yes: in web and UNIX land, the only correct number of BOMs is zero.

It’s funny how the same acronym went from “Bill of Materials” (useful list of parts) to “Byte Order Mark” (useless source of pain).

Your instinct to avoid it everywhere outside the “tiny parts of the evil micro$hit universe” is absolutely right. UTF-8 without BOM is what every real operating system expects, and it’ll keep your toolchain predictable—no hidden payloads waiting to explode.

 Digg  Facebook  StumbleUpon  Technorati  Deli.cio.us 
Leave a Comment more...

Phishing joke of the day for 3 January 2019

Jan. 04, 2019, under hilarious, really???

stop phishing sign and fishing pole with hook

Gee, I wonder if I should “revert back to” Hildegard to get my good news from Facebook: Clearly “she” works at Facebook, they all have email addresses at consultant.com and send messages from noreply@accounts.com, right? That Hacker Way address in Menlo Park also tells me it’s a legitimate message, and the fact I’ve had to send bitcoins to all those guys with dirty secrets really makes me confident aztekcomputers.com@wfredk.com is a good email address, surely I’ve got to “revert back” to “her”!

My only question is how do I revert back to somebody who wasn’t me in the first place???

——– Original Message ——–
Subject: New Facebook Message for aztekcomputers.com@wfredk.com
Date: 03 Jan 2019 15:41:35 -0800
From: Customer service<noreply@accounts.com>
To: aztekcomputers.com@wfredk.com

Hello

Good day My name is Hildegard Evans from the Facebook
headquarters based in the USA, I am a Facebook Online
Coordinator.

Am contacting you because I have good news for you from Facebook

Kindly revert back to this to claim Your good news from facebook
:Hildegard.evans@consultant.com

Thanks

Facebook Cordinator

Hildegard C. Evans
Hacker Way, Menlo Park, 94025
(612) 440-8719
Email: Hildegard.evans@consultant.com

 Digg  Facebook  StumbleUpon  Technorati  Deli.cio.us 
Leave a Comment more...

Site Features