↳ reel / text

SUBTITLE HANDOFF · CHECK THE BYTES

Fix how the SRT is read before rewriting its words.

If an SRT shows text such as José instead of José, preserve the original file and check its character encoding. Reopening the original bytes correctly is different from saving the already-garbled text as UTF-8. In our controlled test, saving the wrong view produced valid UTF-8 that still contained the wrong characters.

Wrong view, original bytes preserved
Reopen a copy using its known source encoding. Our original UTF-8 file displayed the names correctly when decoded as UTF-8.
Wrong view already saved
A UTF-8 label alone is no proof of recovery. Our newly saved file still said José and Zoë.
Replacement characters such as �
Return to the original export if possible. Different lost byte values can produce the same replacement character; the visible symbol does not identify the missing letter.

By ReelTextKit · · Authored subtitle fixture, actual byte decoding and rendered-frame checks. No new transcription request.

Our subtitle text was known before the experiment

We authored a two-cue SRT containing fictional names with accented letters. The first cue, from zero to two seconds, said José and Zoë checked the captions. The second, from two to four seconds, said Anaïs did not approve the final cut. We did not ask a speech service to recognize these names. This was a file-encoding experiment, not a test of pronunciation or transcription accuracy.

We saved an original UTF-8 file and a legacy single-byte version suitable for Windows-1252 decoding of these particular characters. We also saved the result of deliberately reading the UTF-8 bytes as Windows-1252. Every input and output copy was kept, along with byte counts and hashes.

Original UTF-8 file
140 bytes. Correct decoding retained José, Zoë and Anaïs.
The same UTF-8 bytes read as Windows-1252
The names became José, Zoë and Anaïs. The original bytes had not changed during this read.
That wrong view saved as UTF-8
146 bytes. Reopening this new file as UTF-8 still showed the garbled names.
Legacy file read with its matching encoding
137 bytes. Windows-1252 decoding recovered the authored text; strict UTF-8 decoding rejected this file instead.

The byte counts are observations of these tiny files, not size limits or an encoding detector. The selected accented characters fit the legacy test. This does not establish that arbitrary Unicode names can be stored in Windows-1252, or that every legacy encoding means the same thing.

The letter did not become a new spoken word

In the UTF-8 copy, the name José had the hexadecimal bytes 4a 6f 73 c3 a9. In the legacy copy it was 4a 6f 73 e9. Reading the former with the wrong character map produced two visible characters where the accented letter belonged. Nothing in our test changed the fictional person's identity, translated the name or listened to an audio recording.

That distinction matters when reviewing a transcript. A plausible alternate surname returned by recognition needs a source-based spelling check. Predictable extra symbols introduced while importing a text file need a byte-decoding check first. Retyping every accented name can conceal the file problem and leave other lines damaged.

The name, date and negation review covers the first problem using actual speech responses. Here we deliberately kept the source text known so a later character change could be attributed to the controlled decoding path.

Correctly decoded authored SRT, rendered at one second.
Correctly decoded authored SRT, rendered at one second.
The deliberately wrong view after saving as UTF-8, rendered onto the same picture.
The deliberately wrong view after saving as UTF-8, rendered onto the same picture.

Why “save as UTF-8” did not fix our wrong copy

Once our wrong view was a string containing José, writing that string as UTF-8 encoded those characters faithfully. The writer did not know that we intended José. Strict UTF-8 decoding accepted the new file because the bytes were valid UTF-8, even though the words were not the intended text.

For our deliberately known, single mistaken Windows-1252 read, we reversed that mapping to reconstruct the original UTF-8 bytes and decoded those bytes correctly. The restored SRT was 140 bytes and its complete file hash matched the original. We also rendered the correct, wrong and restored files onto the same generated picture. The correct and restored PNG hashes matched; the wrong view rendered differently.

This is a narrow recovery result. We knew the exact transformation because we performed it ourselves. It is not a promise that an unknown file has undergone one reversible pass. Repeated conversions, manual edits, missing bytes and mixed encodings were not tested. Prefer reopening a preserved original over repeatedly applying guessed repairs to the only copy.

A replacement symbol is a different warning

We also read the legacy bytes with a non-fatal UTF-8 decoder. It produced Jos�, Zo� and Ana�s. Saving that result gave a 143-byte UTF-8 file containing replacement symbols, not the original accented letters.

To check the loss directly, we decoded the separate one-byte inputs e9 and eb as UTF-8 with replacement enabled. Both became the same character, �. From that resulting character alone, a later step cannot distinguish those two inputs. An original export, source script or another trustworthy copy supplies information the replacement string no longer carries.

This does not mean every odd-looking caption is unrecoverable. It means our replacement result is not equivalent to the earlier reversible mismatch. Do not automatically substitute an accented letter merely because it looks likely in a name.

The decoding rules and the real user problem

The TextDecoder decode documentation explains that strict decoding can throw a TypeError on a decoding error. The Encoding Standard defines encoding labels and error modes. Those rules explain the decoder behavior; they do not automatically identify the correct encoding of an arbitrary subtitle file.

A community report about subtitles still looking strange after UTF-8 conversion describes the same practical distinction between converting a file and actually restoring readable text. We did not receive or repair that person's file, so we do not diagnose its exact cause. Our own fixture provides the reproducible example on this page.

A review pass that preserves your chance to recover

  1. Keep the original export untouched. Work on a duplicate. Record which application created it and which application first displayed the strange characters.
  2. Compare the same line in both places. If the original download reads correctly but an imported copy does not, investigate the import settings before generating another transcript.
  3. Distinguish reopening from converting. Reopening asks the editor to interpret existing bytes differently. Saving writes the currently displayed text into another file. Make sure the displayed names are correct before conversion.
  4. Verify against the intended spelling. A decoder that reports no error has not certified the identity or wording. Check accented names against a reliable source, and leave genuinely uncertain text unresolved.
  5. Check the final caption copy in its destination. Review a line with an accented character and another near the end. Confirm the cue times still belong to the same video edit. Keep the corrected file separate from the damaged copy.

Boxes or missing glyphs can also involve font support; wrong words can come from recognition rather than encoding. Our experiment did not reproduce those cases. If letters are already burned into the video picture, changing a separate SRT's encoding will not redraw that finished video.

ReelTextKit creates TXT and SRT from uploaded audio. It does not include an encoding-repair or subtitle-editing tool. This guide is a downstream file check, not a claim that our exported captions require repair or that a new upload fixes a damaged external file.

Evidence boundary: one locally authored two-cue fixture, explicit UTF-8 and Windows-1252 decoding paths, preserved output bytes, a known reversible mapping and three rendered PNGs. No audio recognition, automatic encoding detection, Japanese subtitle repair, BOM compatibility test or application-specific player guarantee.

← All practical guides