digitalmars.D.bugs - [Issue 914] New: char[] ~= wchar results in invalid UTF-8
- d-bugmail puremagic.com (18/18) Feb 01 2007 http://d.puremagic.com/issues/show_bug.cgi?id=914
- Lionello Lunesu (1/1) Feb 01 2007 I suspect this is the same problem as described by issue 111.
- d-bugmail puremagic.com (10/10) Feb 01 2007 http://d.puremagic.com/issues/show_bug.cgi?id=914
http://d.puremagic.com/issues/show_bug.cgi?id=914 Summary: char[] ~= wchar results in invalid UTF-8 Product: D Version: 1.004 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: oskar.linde gmail.com I'm not sure this classifies as a bug, but the behavior is somewhat surprising and, I'm sure, never intended. char[] str = "test".dup; str ~= 'é'; Results in str containing an illegal UTF-8 encoded string. --
Feb 01 2007
I suspect this is the same problem as described by issue 111.
Feb 01 2007
http://d.puremagic.com/issues/show_bug.cgi?id=914 oskar.linde gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from oskar.linde gmail.com 2007-02-01 15:59 ------- Confirmed, this is a duplicate of issue 111. *** This bug has been marked as a duplicate of 111 *** --
Feb 01 2007