Blog

Guides to working with text

Practical guides to reversing text, Unicode characters, cleanup, counting and common encodings. Each guide explains a real task, shows an example and links to a tool you can try.

Move a table column with a Laravel migration

How to reposition a column in a Laravel migration with after(), first() and change(), which databases support it, the risks involved, and when to leave column order alone.

Rust regex

A practical review of Rust's regex crate for text transformation: what it changes, how its Unicode handling works, where it differs from other regex flavors, and when plain string methods are the better choice.

Export Grafana data to CSV

How Grafana's CSV download works, what the formatting, joining and Excel options change in the file, and when an exported CSV stays usable after you share it.

Compare Word Documents in Beyond Compare

How Beyond Compare handles Word documents: what text extraction keeps and drops, how it compares with Word's own compare, and what to check before trusting a diff.

Set PowerShell CSV export encoding

How Export-Csv chooses an encoding in Windows PowerShell 5.1 and PowerShell 7, how to write UTF-8 with or without a BOM, what -Encoding Unicode really means, and how to check the result.

Read CSV with SAS INFILE

How a SAS DATA step with INFILE reads CSV and TSV files, which options protect the data's meaning, where values can silently change, and when PROC IMPORT or plain text is the better choice.