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

From: Chris Jacobs <chris.jacobs_at_xs4all.nl>
Date: Sat, 30 Jan 2016 22:29:35 +0100

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
Received on Sat Jan 30 2016 - 15:43:00 CST

This archive was generated by hypermail 2.2.0 : Sat Jan 30 2016 - 15:43:00 CST