News for hackers. Stuff that matters.
Re:What's new in the .NET 11 runtime by WorldMaker on Tuesday November 10, 2026 @01:01PM (#50443813)
C# in .NET 11 adds support for UTF-8 string literals (`ReadOnlySpan<byte> str = "Some sample string."u8;`) which is a step to making such interop easier.

The Runtime has explored attempting "UTF-8 native" string storage as a platform feature especially for Linux FFI, but yeah Windows using UTF-16 is still a compatibility issue where platforms themselves just don't agree.

There are no comments on this comment yet.