Forum Discussion
PerceptiveFilament
Oct 01, 2024Copper Contributor
Why is System.Text.Rune named like this?
.NET uses UTF-16 for string encoding. This means: char type, which is atomic unit of string, is 16-bit size data type. that surrogate pairs are used for Supplementary code points, U+10000..U+10FFF...
PerceptiveFilament
Oct 03, 2024Copper Contributor
So, I found it at [https://learn.microsoft.com/en-us/dotnet/fundamentals/runtime-libraries/system-text-rune?source=recommendations#rune-in-net-vs-other-languages]()
> The term "rune" is not defined in the Unicode Standard. The term dates back to [the creation of UTF-8](https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf-8-history.txt). Rob Pike and Ken Thompson were looking for a term to describe what would eventually become known as a code point. [They settled on the term "rune"](https://twitter.com/rob_pike/status/732353233474064384), and Rob Pike's later influence over the Go programming language helped popularize the term.
> The term "rune" is not defined in the Unicode Standard. The term dates back to [the creation of UTF-8](https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf-8-history.txt). Rob Pike and Ken Thompson were looking for a term to describe what would eventually become known as a code point. [They settled on the term "rune"](https://twitter.com/rob_pike/status/732353233474064384), and Rob Pike's later influence over the Go programming language helped popularize the term.