emojianlab

What a Joiner Does Inside a Word or Emoji

Read a shaping control in context before changing invisible text.

By David

The artist emoji 👩🏽‍🎨 looks like one person in many apps. Read its stored values and you find a woman and a modifier and a small invisible value before a palette. A designer can copy all four as a group without seeing the connector. A person simplifying a text export may remove that connector because it has no visible width. The result can look like two different pictures. In other writing systems a joining control can alter how letters meet inside an ordinary word. An unexplained invisible value deserves to be read in its actual context.

Look at four numbers in a complete phrase

Place Draw with 👩🏽‍🎨 today in a text field. Inspect the entire phrase. The artist cluster includes U+1F469 then U+1F3FD then U+200D then U+1F3A8. The third value is the zero width joiner. It appears between the base side and the palette. A font with suitable support can draw a prepared combined form. Visibility is a rendering decision. The actual characters remain in the text as the sequence you can copy.

Make a second specimen that leaves U+200D out. Decode the same three remaining values in order. Read it between the same words as the first specimen. Compare the visual result. Often the unjoined parts appear separately. Count graphemes if you want a measure of what the editor can move as a unit. Keep the order and options in your notes. It is easier to understand segmentation when you can examine a literal before and after rather than two similar screenshots.

See why a modifier belongs to its base

The skin tone value appears after the woman in the original example. It is part of that side of the emoji. Removing the joiner need not remove the modifier too. A transformation that promises to remove an entire emoji might treat the whole joined cluster as one unit in a modern browser. A cleanup that removes every code point of a certain type has a different scope. Read the exact behavior of the tool before using it on a full transcript. Match your operation to the part you actually need to change.

The example next to the word Draw also makes it clear that the joiner is not a gap between words. A thin space and a joiner have different jobs. If you need to describe the break location in the phrase then check the ordinary space before the emoji and the one after it. Changing a gap may change wrapping. Changing the joiner can change the internal presentation of the emoji. Separate effects deserve different test cases.

Respect the writing system of an ordinary name

Many scripts shape letters based on their neighbors. Certain text contains a zero width nonjoiner to prevent a joining behavior at a specific point. The resulting form can be the expected spelling or typographic treatment in a language. Text can also use a zero width joiner where it requests a specific joining behavior in a supported engine. Exact effects depend on the script and surrounding letters. An editor who works with the language can tell you whether a particular use is intentional.

Do not decide from a generic rendering that two strings are freely interchangeable. Copy the complete original word before testing. Write down the affected values. If you can ask the person who supplied the text then show them the intact sample. Use an editor with relevant script support for the visual comparison. A plain Latin example can illustrate the existence of the invisible code. It does not demonstrate every shaping rule in the script the writer actually used.

Know which invisible value you are discussing

Character Example of a role Evidence worth keeping
U+200D zero width joiner Connects components in a recognized joined emoji Ordered values for the whole original cluster
U+200C zero width nonjoiner Blocks particular letter joining in supported script contexts The exact word and written guidance from its author
U+200B zero width space Can give a line a potential break A short source line and the width where it wraps
U+2060 word joiner Can prevent a break between neighbors The pair of adjacent words or values

These shapes can all appear invisible in an editing field. Their invisible status provides little evidence about the work they do. The code identity and neighboring characters provide a more useful report. Keep the underlying words with a suspected sequence before reducing the sample to a single isolated value. An isolated control can tell you the name. It cannot show what happens between the intended neighbors.

Solve a paste issue in ordered observations

Begin with the string as it arrived. Inspect only the relevant phrase and save its value separately. Describe what you expected the app to show. Paste into a second editor without preprocessing it. Inspect the saved copy and compare. If the value is the same but the image or script shape changes then you have evidence that formatting or font behavior deserves attention. If the sequence differs then see whether the same paste in a plain field causes the difference. A single reproduction is more helpful than removing several kinds of characters and guessing which one helped.

Unicode Text Diff can show the matching beginning and ending around the edit. It may show a whole cluster where you expected one invisible code to be called out. Expand the exact code lists within that region. Whole clusters are useful for finding the part of the line that a person can select. The detailed sequence tells you if one of the values in that cluster disappeared. Include both levels in the report. A user can say where it happens. A developer can compare the data.

Keep careful copies during a cleanup

A recording of a chat can be saved as exact text. An edited draft can have visible headings and cleaned spacing for reading. If the archive needs to preserve the original name spellings and emoji forms then make the edits on a different copy. Check an ordinary line with one important invisible value before applying any general cleanup. A tool that tidies horizontal space separators may deliberately leave U+200D and U+200C intact. This distinction is useful in languages where ordinary spacing and joining both occur.

If a turn of narration has a joined emoji as its only clue to intent then write out the relevant observation in an edited copy. Preserve the actual text in the source. A future reader can see the original reaction and the written interpretation. Do not substitute a different string as if nothing changed. Naming the source and the edited view gives readers two paths to the material. They can choose exact data or the clearer presentation depending on their job.

Hand off one issue at a time

A useful note can be very compact. State the text that was copied. List the three or four important code points. Name the build or editor where the form changes. Include a small known comparison. If a person will need to reproduce a particular word then give the exact word and a meaningful surrounding phrase. A note about a generic invisible mark might lead them to test the wrong role. Attach the plain sequence and explain what was seen rather than an instruction to remove invisible values as a group.

Read the whole phrase at the end

Return to the original use after the narrow test. Look at the display with its title and punctuation. If a joiner was needed to render the intended word or picture then check that the final text keeps it after saving. If the message can use a simpler illustration then change the illustration deliberately and describe that change in any exact record. For an ordinary word preserve the author's intended spelling and shaping. A good inspection gives an editor enough evidence to make a limited choice. It should make a legitimate invisible part easier to protect.

Reproduce an edit at each step of a note workflow

A facilitator saves a chat transcript. The source contains a joined face in a display name and a separate joined artist in a message. The facilitator extracts a sentence for a report. Before editing it they inspect the extracted phrase and find the connector inside the artist. They then save a plain text version and inspect it again. Finally they use the receiving editor's preview. If the connector is present at every step then seeing separate components in the report does not prove the extraction changed the text.

A different outcome can be diagnosed with the same sequence of steps. If the first saved version already lacks the connector then leave the renderer out of that part of the investigation. Check whether a chosen cleanup step was supposed to affect formatting controls. Return to the exact transcript if the change was unintended. For the display name ask whether an exact profile identifier and a visible conversational name can be documented separately.

Record whoever needs the original string and whoever needs an edited description. They may be different readers. This is a practical reason to preserve a small exact sample rather than leaving only a visual fix for the next person to inherit.

Tools mentioned

More from Unicode

Choose Spaces That Keep a Label TogetherCompare ordinary and narrow spaces in quantities and typographic notes.Find Out Why a Copied Accent Looks DifferentSplit a real copying issue into composition and font and data questions.