Thread overview | |||||
---|---|---|---|---|---|
|
February 01, 2007 [Issue 914] New: char[] ~= wchar results in invalid UTF-8 | ||||
---|---|---|---|---|
| ||||
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. -- |
February 01, 2007 Re: [Issue 914] New: char[] ~= wchar results in invalid UTF-8 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | I suspect this is the same problem as described by issue 111. |
February 01, 2007 [Issue 914] char[] ~= wchar results in invalid UTF-8 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 *** -- |
Copyright © 1999-2021 by the D Language Foundation