Text editing guides

Reverse a mixed-language clue and keep its emoji intact

·

A group puzzle hides a clue by reversing each line. One line has an accent written with a combining character and a joined emoji. Keep these sequences intact so solvers can recover the original clue when they apply the same reversal again.

Text Reverser

Keep a joined emoji and its skin tone together

Select Load example and leave Characters within each line selected. The first line contains café followed by 👩🏽‍🔧. Select Reverse text. The first line should read 👩🏽‍🔧 éfac. The acute accent stays on the e because the tool reverses the cluster as a unit.

Select Use as input and repeat. Check that the first line recovers the original order. This example uses an accent separated in the source bytes. The tool does not normalize the stored characters.

Unicode Standard Annex 29: Text Segmentation

Keep punctuation in place while changing the word order

Reload the example. Select Words within each line and run it. North gate, check now becomes now check, gate North. The comma stays between the second and third word slots.

Choose Words with their punctuation and run the same example. The result becomes now check gate, North. The comma moves with gate, and the gaps between the four groups stay in place.

In Line order mode the North gate line moves above the café line and its punctuation stays with it. Choose All characters including line breaks to reverse the complete text, including the position of any final newline.

Unicode Standard Annex 29: Text Segmentation

Review mixed-direction output in a text editor

Try the Arabic text ابج on a fresh line. In Characters within each line mode the stored characters become جبا. The browser still uses right-to-left display rules, so compare the logical text or inspect the UTF-8 download when order matters.

For a sequence check, compare the actual code points in the result and the UTF-8 download. An order-only mode keeps the original code points and changes their positions.

Unicode Standard Annex 9: Bidirectional Algorithm

Turn Gate 06! while keeping the joined emoji

Enter Gate 06! followed by a space and 👩🏽‍🔧. Select Upside-down text and Reverse text. The result starts with the joined emoji and ends with ǝʇɐ⅁. The 6 becomes 9, the exclamation point becomes ¡, and 0 keeps its original glyph.

This preset substitutes a defined set of basic letters, digits and punctuation after reversing the sequence. A glyph outside the set stays intact. A font needs the output characters to display them, and the substitutions are one way. Keep the original if you need to recover it exactly.

Input for the upside-down label
Gate 06! 👩🏽‍🔧

Unicode Standard Annex 29: Text SegmentationUnicode Standard Annex 9: Bidirectional Algorithm

Common questions

Can I keep the first line first while reversing letters?

Use Characters within each line. It reverses each line separately and leaves its position and line break intact.

Will every browser identify phrases and words the same way?

Word segments depend on the browser's Unicode implementation and locale, especially for languages that do not use spaces between words.

Where does the last line break go in upside-down mode?

It moves to the start because the mode reverses the entire sequence. A CRLF pair stays together as one grapheme. Use Line order when the file must retain its ending sequence.

Sources

Put it into practice.

Related guides