What is bc 12? (Simple Guide for Beginners on bc 12)
Today, I just wanted to share a little experience dealing with this “bc 12” thing. I’m not really sure how to explain it, but it’s a string. So, I started to do this today. It seems like it’s related to URL encoding, which I’ve heard of before. It replaces some characters with a “%” and some numbers and letters.
So, first, I tried to figure out what this “bc 12” could be. I saw some stuff online about something called “2B12”, which is some kind of vitamin? Not really related, but it got me thinking about how these codes work.
I found this online tool where you can type in a code and it will change it, you know, encode or decode it. It had options for Base64 and something called Base64Url. No idea what those are, but they sound fancy.
Then I got distracted looking at ASCII. Yeah, that old thing with all the characters and their number codes. I even saw these weird symbols like “╂” – totally off-topic, but it’s kind of fun to see all those different characters.
Back to “bc 12,” I started thinking, what if the “b” is supposed to be a “%” but got messed up somewhere? There are a few discussions on the internet about how URL decoding can mess up, specifically with “%2b” becoming a “+” and then a space. It looks like a headache for many developers.
I also looked into how to do this stuff in JavaScript, which is something I mess around with sometimes. There are some newer ways to deal with URLs in JavaScript, but I didn’t get too deep into that.
Finally
I tried to decode “%bc %12”.
- b: I figured it is the hexadecimal for the decimal 11.
- c: I figured it is the hexadecimal for the decimal 12.
- 1: I figured it is the hexadecimal for the decimal 1.
- 2: I figured it is the hexadecimal for the decimal 2.
The ASCII code 11 is vertical tab and 12 is Form Feed. And 1 is Start of Heading, 2 is Start of Text. I end up with four control characters. I don’t know if it is right. I am still confused about the whole “bc 12” thing. It’s a puzzle, I guess. Maybe some of you guys have seen something like this before? Let me know!
Original article by the Author:Emile,If you intend to republish this content, please attribute the source accordingly:https://www.creativesfunding.com/7396.html