Assuming that you have a string $data, which contains the string you want to pass on in a non-encoded way, these are the relevant stages:
There are several stages for which encoding is important. Assuming that you have a string $data, which contains the string you want to pass on in a non-encoded way, these are the relevant stages: