Encoding/Use of pontial unpaired UTF-16 surrogate pair specifiers

Chris Jacobs chris.jacobs at xs4all.nl
Sat Jan 30 15:29:35 CST 2016



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


More information about the Unicode mailing list