To fully support unicode strings in the command/environment parts of a job in the RSC we need to fully serialize them. Before this change it wasn't possible to extract the underlying bytes of a unicode string (only the first byte was available). This updates the stdlib to have two functions. One from string to backing bytes and one from bytes to backing string.
No processing should be done on the bytes or it will likely result in an invalid UTF8 string
To fully support unicode strings in the command/environment parts of a job in the RSC we need to fully serialize them. Before this change it wasn't possible to extract the underlying bytes of a unicode string (only the first byte was available). This updates the stdlib to have two functions. One from string to backing bytes and one from bytes to backing string.
No processing should be done on the bytes or it will likely result in an invalid UTF8 string