Get the latest tech news

Fixing a bug with byte order marks


I didn't know to check for UTF-8 byte order marks, so I made a mistake when converting text files. I was meant to use `encoding="utf-8-sig"`.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of bug

bug

Photo of byte

byte

Photo of byte order marks

byte order marks

Related news:

News photo

Runway couldn't fix a bug in its AI video model, so it turned the bug into a feature

News photo

A bug in AWS has caused some customers' bills to spike from a few cents to billions of dollars

News photo

Amazon fixing bug that billed some AWS customers billions of dollars