The input string to encode.
A string where each character represents a byte of the UTF-8 encoded input.
This function is useful for scenarios where you need a string representation of the UTF-8 bytes of the original string, such as for binary-safe storage or transmission.
Encodes a given string into its UTF-8 byte representation and returns a string where each character corresponds to a byte of the UTF-8 encoding.