Format Unicode Text: Chunk, Center and Shift
Formatting Unicode text means rearranging it without changing the characters: chunking a long string into fixed-size groups, centering it inside a width,
Formatting Unicode text means rearranging it without changing the characters: chunking a long string into fixed-size groups, centering it inside a width,
Arbitrary base conversion lets you write a number in any base you choose, not just the common 2, 8, 10, and 16. Base 5, base 36, even unusual bases all fo
Extracting a Unicode range pulls out only the characters that fall between two code points, so you can isolate just the emoji, just the Greek letters, or
Hex to Roman numeral conversion takes a hexadecimal value, reads it as a normal number, and writes that number in Roman numerals, so hex 1F becomes 31, wh
Bytes to text conversion decodes a list of numbers from 0 to 255 back into readable characters, so the bytes 72 105 become “Hi”. It is the reverse of seei
Binary to image conversion reads a stream of bits or hex bytes and paints them as pixels, turning raw data into a picture you can see. It is the visual si
Counting characters sounds simple until emoji and accents get involved, because what a person sees as one character can be several code points underneath.
Negabinary is base -2: a number system that uses only 0 and 1 like binary, but with place values that are powers of negative two. That single twist lets i
Combining characters are Unicode marks that attach to the character before them, so an accent, a tilde, or a stack of marks can be added on top of a norma
Counting set bits means counting how many 1s are in a number’s binary form, a value also called the Hamming weight or population count. The byte 10110100
Spoofed Unicode text uses look-alike characters from other alphabets to imitate normal letters, so a Latin a can be swapped for a Cyrillic one that looks
Adding hex numbers follows the same column method as decimal, but you carry whenever a column reaches 16 instead of 10, and the digits run 0 to 9 then A t