Encode text into binary or hex and decode it back — byte-oriented, UTF-8 safe.
Uses UTF-8 encoding, so Persian text, emoji and all Unicode characters are fully supported.