TryHackMe Data Encoding
Task 1: Introduction
Text, like numbers and colors, is stored in memory as binary bits — a concept known as representation. To translate these numbers into readable text, computers rely on encoding, which is an agreed-upon mapping between numeric codes and corresponding letters, punctuation, or emojis. A string of text is stored and processed as a sequence of these numbers. When a file is opened using an encoding different from the one used to save it, the computer may misinterpret the numeric mappings, causing the text to display as distorted “gibberish.”Q1: No answer
Task 2: ASCII
Computers store and process all data in binary (0s and 1s), which requires a universally agreed-upon standard to map specific bit sequences to corresponding characters — ensuring that a sequence like 01010100 is consistently saved and read as the letter “T” across all systems.
Established in 1963, ASCII (American Standard Code for Information Interchange) was one of the earliest encoding standards created for English text. Operating as a lookup dictionary between characters and numbers, ASCII uses 7 bits to assign values from 0 to 127 across English upper- and lower-case letters, numerical digits, basic punctuation, and system control characters.
Remember — Ascii is very important, it’s not only used in Cybersecurity but also software development, and pretty much anywhere in technology
Get Ansh Solanki’s stories in your inbox
Join Medium for free to get updates from this writer.
Q1: 64
Q2: #
Q3: BEL
Task 3: Unicode
Early computing relied on 7-bit ASCII, which only supported 128 basic English characters, leading to chaotic text distortion when 8-bit regional variants (like ISO-8859) mismatched — such as an “Ø” saved in Latin 1 erroneously displaying as “Ř” in Latin 2. This regional approach failed to accommodate massive character systems like Arabic (requiring 250+ ligatures), Japanese (6,800+ characters), Chinese (over 87,000 Hanzi), or modern emojis. To solve this, Unicode was introduced as a universal standard assigning a unique number or code point to nearly 157,000 characters across all world languages. This standard is implemented through three key byte formats: UTF-8, the dominant web standard, dynamically uses 1 byte for ASCII to maintain backward compatibility, 2 bytes for non-ASCII scripts (like Ω), and 4 bytes for complex symbols and emojis (like 🔥); UTF-16 uses either 2 or 4 bytes depending on character rarity; and UTF-32 simplifies processing by assigning a fixed, but memory-intensive, 4 bytes to every single code point regardless of its complexity.
Q1: U+0001F60C
Q2: U+30B7
Q3: ☕
Q4: ♘
Task 4: Conclusion
Q1: No answer needed
Thank you for reading this writeup to the end!




![[IronHold] — Spring Boot Source Code Analysis: Finding Credentials, SQL Injection, PrivEsc, and…](https://miro.medium.com/v2/resize:fit:1358/format:webp/1*2yaTo73YRGo1GknAUJNfPg.jpeg)


