Doug Ewell schreef op 2016-01-30 22:05:
J Decker wrote:
UTF16 has no way to define a code point that is D800-DFFF; this is an
issue if I want to apply some sort of encryption algorithm and still
have the result treated as text for transmission and encoding to other
string systems.
This is not an issue at all. You don't have to restrict the input to
text to be able to generate an output that can be treated as text.
Just, as a last step, apply e.g. UUENCODE or Base64.
Look how PGP solves this.
Chris