digitalmars.D.bugs - [Issue 1166] New: DMD doesn't support UTF encoded response files.
- d-bugmail puremagic.com (23/23) Apr 19 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1166
- d-bugmail puremagic.com (13/13) Sep 29 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1166
- d-bugmail puremagic.com (12/12) Sep 29 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1166
http://d.puremagic.com/issues/show_bug.cgi?id=1166 Summary: DMD doesn't support UTF encoded response files. Product: D Version: 1.012 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: jcarrascal gmail.com If an utf-* encoded file is used as a response file the compiler responds with an error: C:\dmd>type test.rsp ´╗┐test.d C:\dmd>type test.d void main() { } C:\dmd>dmd test.rsp ´╗┐test.d: module ´╗┐test cannot read file '´╗┐test.d' --
Apr 19 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1166 smjg iname.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smjg iname.com Summary|DMD doesn't support UTF |DMD doesn't support UTF |encoded response files. |encoded response files with | |a byte-order mark ------- Comment #1 from smjg iname.com 2007-09-29 08:19 ------- Those characters are the UTF-8 BOM, misinterpreted in code page 850 or similar. So the problem isn't so much that the .rsp is UTF encoded as the presence of a BOM that's throwing it. --
Sep 29 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1166 jcarrascal gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcarrascal gmail.com ------- Comment #2 from jcarrascal gmail.com 2007-09-29 10:00 ------- No, actually any non ASCII character will show you the same error: C:\dmd>type césar.rsp c├®sar.d C:\dmd>dmd césar.rsp c├®sar.d: module c├®sar cannot read file 'c├®sar.d' --
Sep 29 2007