On Sunday, 1 April 2018 at 02:44:32 UTC, Uknown wrote:
If you want to stop auto-decoding, you can use
std.string.representation like this:
import std.string : representation;
auto no_decode = some_string.representation;
Now no_decode wont be auto-decoded, and you can use it in place
of
On Sunday, 1 April 2018 at 01:19:08 UTC, auto wrote:
What is auto decoding and why it is a problem?
Auto-decoding is essentially related to UTF representation of
Unicode strings. In D, `char[]` and `string` represent UTF8
strings, `wchar[]` and `wstring` represent UTF16 strings and
`dchar
What is auto decoding and why it is a problem?
On Saturday, 15 July 2017 at 18:47:25 UTC, Joakim wrote:
On Saturday, 15 July 2017 at 18:14:48 UTC, aberba wrote:
So what is the current plan? :)
Andrei has talked about having a non-auto-decoding path for
those who know what they're doing and actively choose that
path, while keeping
On Saturday, 15 July 2017 at 18:14:48 UTC, aberba wrote:
On Saturday, 15 July 2017 at 05:54:32 UTC, ag0aep6g wrote:
On 07/15/2017 06:21 AM, bauss wrote:
[...]
1) Drop two elements from "Bär". With auto-decoding you get
"r", which is nice. Without auto-decoding you ge
On 07/15/2017 08:14 PM, aberba wrote:
So what is the current plan? :)
As far as I'm aware, there's no concrete plan to change anything. We
just gotta deal with auto-decoding for the time being.
On Saturday, 15 July 2017 at 05:54:32 UTC, ag0aep6g wrote:
On 07/15/2017 06:21 AM, bauss wrote:
[...]
1) Drop two elements from "Bär". With auto-decoding you get
"r", which is nice. Without auto-decoding you get [0xA4, 'r']
where 0xA4 is the second half of the
On 07/15/2017 06:21 AM, bauss wrote:
I understand what it is and how it works, but I don't understand
anything of how it solves any problems?
Could someone give an example of when auto-decoding actually is useful
in contrast to not using it?
1) Drop two elements from "Bär&q
I understand what it is and how it works, but I don't understand
anything of how it solves any problems?
Could someone give an example of when auto-decoding actually is
useful in contrast to not using it?
Just trying to get an understanding of what exactly its purpose
is.
I did