WORKED CASE · SYNTHETIC TEST DATA

Inspect the UTF-16 escape for one character

A configuration file may contain escapes instead of visible text. Check a small example before replacing an entire field.

Input and settings

A中

Run and interpret

Select Text to Unicode. A becomes \u0041 and the Chinese character becomes \u4e2d. Decode the joined escapes to recover both characters.

Expected output

\u0041\u4e2d

Scope and possible misuse

This uses four-digit UTF-16 code units. Emoji may require two units. It does not parse a full JSON string or support the JavaScript \u{...} syntax.

Unexpected result? Report a minimal example