[Issue 15884] Assigning char[] to std.json.JSONValue creates array, not string

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Apr 11 18:34:20 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15884

Lionello Lunesu <lio+bugzilla at lunesu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #4 from Lionello Lunesu <lio+bugzilla at lunesu.com> ---
Ah, you're fast, but what about wchar[] dchar[]? I suggest we use
std.utf.toUTF8() to handle all the non-string cases (it does a "idup" for
char[], by the way.)

--


More information about the Digitalmars-d-bugs mailing list