regression/singleton/supplementary compatibility ideograph

About this case

U+2F800 maps into the BMP (4 bytes to 3), U+2FA1D to another supplementary character.

Source
Focused regression
Input
8 B · raw text
Output
7 B
Archive
009043_must_render_exactly/input

Input

Invisible characters are shown as symbols, such as ␀ for NUL and ␉ for tab.

丽𪘀
Code points
  1. U+2F800 U+2FA1D

Expected output

The output must match these bytes exactly.

丽𪘀
Code points
  1. U+4E3D U+2A600