Use UTF-32 Encoder / Decoder without a complicated workflow.
Encode text to UTF-32 code points and decode UTF-32 values back into readable text. This registration is prepared for a browser-side JavaScript UI, so no Python/API processing is required when the UI is implemented.