[Mono-dev] ASCII Strings Proposal

Edward Ned Harvey (mono) edward.harvey.mono at clevertrove.com
Thu Jul 28 12:47:52 UTC 2016


> From: mono-devel-list-bounces at lists.dot.net [mailto:mono-devel-list-
> bounces at lists.dot.net] On Behalf Of Jon Purdy
> 
> > For historical reasons, System.String uses the UCS-2 character encoding,
> that is, UTF-16 without surrogate pairs.
> 
> > However, most strings in typical .NET applications consist solely of ASCII
> characters, leading to wasted space: half of the bytes in a string are likely to
> be null bytes!

What's wrong with UTF-8?


More information about the Mono-devel-list mailing list