logoalt Hacker News

downsplat • today at 1:34 PM • 0 replies • view on HN

The php convention is that strings are bytes, but we store utf8 in them. Convert or validate at ingestion, transform using the mb_* family of functions, and be happy.