Articles
Display CR, LF, and CRLF Line Endings and Verify the Difference
To identify CR, LF, and CRLF in a text editor, compare byte counts in files containing the same text instead o […]
Detect UTF-8 BOM Presence in a Text Editor Without Guessing
The decision in this article is not the generic question of how to recognize a BOM. It is whether the leading- […]
Switch Text Encodings and Verify the Reopened Copy
Switching an encoding can mean two different things: changing how existing bytes are read, or changing how cor […]
Open UTF-16LE and UTF-16BE Text Without Guessing
To open UTF-16LE or UTF-16BE safely, combine three clues: the byte-order mark, the editor’s detected enc […]
Fix Garbled Text by Reopening the Same Bytes with the Right Encoding
When text appears garbled, do not save it. Preserve the file’s bytes and reopen the same file with candi […]
Fix Encoding Errors Highlighted Before Save
When an editor highlights characters that cannot be written in the chosen encoding, the next task is editorial […]
Find Characters That Cannot Be Saved in the Selected Encoding
Find unencodable characters before writing the delivery file, not by hunting for damage afterward. When a UTF- […]
LF vs CRLF vs CR: Test Line Endings in a Text Editor
LF, CRLF, and CR can produce identical-looking lines while storing different bytes. The right choice is not a […]
Convert Shift_JIS Text to UTF-8 Without Damaging the Source
The safest way to convert a Shift_JIS document to UTF-8 is to treat reading and rewriting as two separate jobs […]
Fixing Garbled Text: Reopening a File with the Correct Encoding
When you find a garbled manuscript, the first thing to do is not save it. If it is only garbled, the file is i […]
Converting to UTF-8: The Three Steps and What to Check at Each One
Converting a Shift_JIS or other non-UTF-8 manuscript to UTF-8 has three conceptual stages: decode the source b […]
Automatic Shift_JIS Detection in a Text Editor, and Where It Stops Being Reliable
When you open an old manuscript, you do not choose the encoding — the editor guesses it. That guess is usually […]