[Mono-dev] ASCII Strings Proposal
Miguel de Icaza
miguel at microsoft.com
Thu Jul 28 17:58:35 UTC 2016
If you read the rest of the thread, you will see that this issue has been addressed.
That said, we expect an email soon from Vance that might shed some light into the future.
Miguel.
> On Jul 28, 2016, at 10:43 AM, Greg Young <gregoryyoung1 at gmail.com> wrote:
>
> Is it really a good idea to use a different encoding than the CLR?
> Lots of people do stuff with unsafe code etc which would need to be
> changed.
>
> Also to add a bit of context (history)
> https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fblog.coverity.com%2f2014%2f04%2f09%2fwhy-utf-16%2f%23.V5oZpJO7iko&data=01%7c01%7cmiguel%40microsoft.com%7cbb2d0ffe5ccb403e490b08d3b6f58d6a%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=WB8HaH1j5lMMtppTyZW7Mhb7qsRiEUlOa2z%2fU0TSO1I%3d is worth
> a read
>
> On Thu, Jul 28, 2016 at 3:47 PM, Edward Ned Harvey (mono)
> <edward.harvey.mono at clevertrove.com> wrote:
>>> 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?
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.dot.net
>> https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2flists.dot.net%2fmailman%2flistinfo%2fmono-devel-list&data=01%7c01%7cmiguel%40microsoft.com%7cbb2d0ffe5ccb403e490b08d3b6f58d6a%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=bL7QheTe8Bmvr9O08xUPrz4I788BRlPE%2f9ywHrFaJlM%3d
>
>
>
> --
> Studying for the Turing test
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.dot.net
> https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2flists.dot.net%2fmailman%2flistinfo%2fmono-devel-list&data=01%7c01%7cmiguel%40microsoft.com%7cbb2d0ffe5ccb403e490b08d3b6f58d6a%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=bL7QheTe8Bmvr9O08xUPrz4I788BRlPE%2f9ywHrFaJlM%3d
More information about the Mono-devel-list
mailing list