dollcode is a pseudo-ternary encoding system, originally created by v01dlabs. it uses three block characters to represent the base-3 numeral system offset by one, like so:
▖ = 1, ▘ = 2, ▌ = 3
numbers are encoded directly, looping them through and checking each modulus 3 result, then replacing it with one of the three characters
to encode text, each character is converted to its unicode codepoint, then that number is expressed in this 1-2-3 ternary system. individual characters are separated by a zero-width joiner (u+200d), making encoded strings appear seamless while remaining parseable.
just type anything above — the direction is detected automatically.