http://d.puremagic.com/issues/show_bug.cgi?id=5443

           Summary: icmp only works correctly for ASCII
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: cbkbbej...@mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbej...@mailinator.com> 2011-01-10 
14:21:47 PST ---
Created an attachment (id=868)
Test case that fails

import std.string;
void main()
{
    assert(icmp("�", "�") == 0, "�ber failure");
}

Unless my German is even worse than I think it is, the assert should pass, but
it currently fails.

As of the latest Phobos truck (r2232), icmp only checks for the ASCII 'A'
though 'Z'.

A source file for the above test case is attached just in case bugzilla botches
the inline source above.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to