Articles
Fix Garbled Text by Repairing Unconvertible Characters First
This guide covers a narrow form of “garbled text”: a source that opens readably but contains characters that c […]
Check Text Encoding with BOM and Automatic Detection
A text editor’s encoding label answers only one question: how the file was interpreted when it opened. It does […]
Replace Line Endings in a Text Editor Without Changing Paragraph Structure
If a Windows-authored text file must enter a Unix-based build, replace its line endings as a file-wide CRLF-to […]
Convert Text to UTF-8 After Fixing Unsupported Characters
When converting a Shift_JIS manuscript to UTF-8, resolve unrepresentable characters first, then reopen a separ […]
Find Characters Shift_JIS Cannot Represent Before Saving
To find characters that Shift_JIS cannot represent, test actual characters and positions instead of treating e […]
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- […]