November 18, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=562

           Summary: Source file without BOM starting with non-ASCII compiles
                    and runs
           Product: D
           Version: 0.174
          Platform: PC
               URL: http://www.digitalmars.com/d/lex.html
        OS/Version: Windows
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P4
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: deewiant@gmail.com
OtherBugsDependingO 511
             nThis:


Ä ä;

class Ä {
}

void main() {
}

The above, encoded as UTF-8 without a BOM, compiles and runs just fine even though the spec claims that "[i]f the source file does not start with a BOM, then the first character must be less than or equal to U0000007F" which the "Ä" character is not.

I'm not sure this is a useful limitation, and since it's not taken into account by DMD it might as well be removed, in my opinion.


-- 

December 03, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=562


deewiant@gmail.com changed:

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




------- Comment #1 from deewiant@gmail.com  2006-12-03 03:57 -------
DMD behaviour corrected in DMD 0.176.


--