News for hackers. Stuff that matters.
Re:C# strings silently kill your SQL Server indexes in Dapper by tialaramex on Saturday March 07, 2026 @05:04AM (#47286176)
UTF-16 is maybe better if your text is mostly made of codepoints which need 3 UTF-8 code units but only one (thus 2 bytes) UTF-16 code unit. This is extremely rare for general text and so you definitely shouldn't begin by assuming UTF-16 is a good choice without having collected actual data.

There are no comments on this comment yet.